[Patch] Xvideo on Intel using buffer objects fix
eric at anholt.net
Thu Oct 11 12:31:59 PDT 2007
On Wed, 2007-10-10 at 23:52 +0200, Pierre Willenbrock wrote:
> Hi list,
> this patch fixes a gray screen coming up when using xvideo playback on
> intel chipsets while using the drm buffer objects.
> Without this patch, the xvideo code will allocate its buffer, but the
> buffer object handling will not bind it. This leads to overwriting
> valueable data beginning at offset -1 of the framebuffer(And for me to
> the above mentioned gray screen from which the xserver is unable to
> recover, even when restarting it).
> Patch is against a slightly patched
The real issue was not binding the memory on allocation when we had
control of the VT. That should be fixed now. There was also a
use-after-free that may have hit people without TTM.
Eric Anholt anholt at FreeBSD.org
eric at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: This is a digitally signed message part
More information about the xorg