Cleanup tiling and FBC driver output.
Remove an extra "FBC enabled" message from i830_memory.c (only report errors if they occur), and don't print the "forcing FBC on" message if tiling was already enabled, as it's redundant and confusing.
This commit is contained in:
parent
e6746d0f28
commit
f71b9358b4
|
|
@ -2275,7 +2275,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
|
|||
pI830->fb_compression = FALSE;
|
||||
}
|
||||
|
||||
if (pI830->fb_compression) {
|
||||
if (pI830->fb_compression && !pI830->tiling) {
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Framebuffer compression enabled, "
|
||||
"forcing tiling on.\n");
|
||||
pI830->tiling = TRUE;
|
||||
|
|
|
|||
|
|
@ -1073,10 +1073,7 @@ static void i830_setup_fb_compression(ScrnInfoPtr pScrn)
|
|||
}
|
||||
|
||||
out:
|
||||
if (pI830->fb_compression)
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Framebuffer compression "
|
||||
"enabled\n");
|
||||
else
|
||||
if (!pI830->fb_compression)
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Allocation error, framebuffer"
|
||||
" compression disabled\n");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue