drm/i915: Add missing locking to primary plane handlers
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 9 Jul 2014 23:22:10 +0000 (16:22 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Jul 2014 06:50:51 +0000 (08:50 +0200)
commit4c34574fd9e6f3ed34ebe67fbabb0fef0b0754e3
treef7fccdcd3124638c4796905c2c8499954bf2b262
parent03872064f77f4beb61d1afc22adf62da47cf087b
drm/i915: Add missing locking to primary plane handlers

intel_primary_plane_{setplane,disable} were lacking struct_mutex locking
around their GEM operations.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reported-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c