uxa: Check for allocation failure in i915 video
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 13 Oct 2013 09:36:35 +0000 (10:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 13 Oct 2013 09:40:21 +0000 (10:40 +0100)
commitf9a18c9f38d09c145eb513ca989966dc135c1e9b
tree378e3f68366316abeedf6b10bd8c065a1db3491c
parent978b93a20bb2ba647138d0d8954fac60b215f7c6
uxa: Check for allocation failure in i915 video

For a large screen, we have to create a temporary surface for rendering
the textured video. If this pixmap creation fails we may be left with a
system memory only pixmap leading to a segfault.

Reported-by: Bas Wijnen <wijnen@debian.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/uxa/i915_video.c