[Patch] Xvideo on Intel using buffer objects fix

Eric Anholt 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
> git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel

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...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20071011/12ff6214/attachment.pgp>


More information about the xorg mailing list