Only disable FBC if registers are available
The call to disable FBC should only occur if the FBC feature is actually present or we may end up hanging on a read from a non-existent register.
This commit is contained in:
parent
83a071e2c0
commit
d59eaa8b1e
|
|
@ -722,7 +722,8 @@ i830_use_fb_compression(xf86CrtcPtr crtc)
|
|||
|
||||
/* Here we disable it to catch one->two pipe enabled configs */
|
||||
if (count > 1) {
|
||||
i830_disable_fb_compression(crtc);
|
||||
if (i830_fb_compression_supported(pI830))
|
||||
i830_disable_fb_compression(crtc);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue