drm: Add locking around cursor gem operations.
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 14 Feb 2009 01:56:49 +0000 (20:56 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:12 +0000 (12:21 +1000)
commit7f9872e06d749afdc2029aa6b7ffe88cb3b8c5c2
tree31d397f81512e22977e20ba7187577d5c152bf86
parent5c3b82e2b229e78eb32f4ea12d16f3ebeeab3fc7
drm: Add locking around cursor gem operations.

We need to hold the struct_mutex around pinning and the phys object
operations.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/intel_display.c