[Patch] i915gm: framebuffer compression+tiling on exa
jbarnes at virtuousgeek.org
Thu Nov 1 14:42:07 PDT 2007
On Thursday, November 01, 2007 11:45 Pierre Willenbrock wrote:
> Hi list,
> i am using latest git of xserver, xf86-video-intel, drm and mesa.
> Since the merge of bufferobjects and support code into drm and
> xf86-video-intel, i was unable to use tiling. After looking at bug
> #12994 i found that i tried to disable framebuffer compression by
> disabling the option "Compression" instead of
> "FramebufferCompression", so i tried again, and found that i could
> use either framebuffer compression or tiling, but not both.
> Digging deeper into the driver sources, i found #define
> FBC_CTL_FENCENO, which was not used anywhere. So i tried adding the
> fence number of my frambuffer(3) to the FBC control register, which
> made the FBC and tiling work at the same time. A patch is attached.
Ah, excellent! That definitely explains the bad behavior several people
have been seeing. Earlier (I think I even had a comment to this effect
at one point) I assumed that the front buffer was using fence 0. This
looks like a real fix. I'll go ahead and check it in.
More information about the xorg