framebuffer: print info if accelerator is used

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@171 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5080eda0ba
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-01-16 (Sat, 16 Jan 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2010-01-16 21:22:27 +00:00
parent 48beb5abc0
commit b6d3fa7cd2

View File

@@ -396,7 +396,13 @@ int CFrameBuffer::setMode(unsigned int /*nxRes*/, unsigned int /*nyRes*/, unsign
}
stride = fix.line_length;
printf("FB: %dx%dx%d line lenght %d\n", xRes, yRes, bpp, stride);
printf("FB: %dx%dx%d line length %d. %s nevis GXA accelerator.\n", xRes, yRes, bpp, stride,
#ifdef USE_NEVIS_GXA
"Using"
#else
"Not using"
#endif
);
memset(getFrameBufferPointer(), 0, stride * yRes);
if (ioctl(fd, FBIOBLANK, FB_BLANK_UNBLANK) < 0) {