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
This commit is contained in:
seife
2010-01-16 21:22:27 +00:00
parent 465f97d4d5
commit 5080eda0ba

View File

@@ -396,7 +396,13 @@ int CFrameBuffer::setMode(unsigned int /*nxRes*/, unsigned int /*nyRes*/, unsign
} }
stride = fix.line_length; 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); memset(getFrameBufferPointer(), 0, stride * yRes);
if (ioctl(fd, FBIOBLANK, FB_BLANK_UNBLANK) < 0) { if (ioctl(fd, FBIOBLANK, FB_BLANK_UNBLANK) < 0) {