drm/i915: Hold the pps mutex across the whole panel power enable sequence
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Oct 2014 18:27:33 +0000 (21:27 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 22:22:01 +0000 (23:22 +0100)
commit093e3f134e2eff13503f708b81aecc2501e7aecb
tree6c468fbb2eaf31a0485a5aff09f95e8887dc7a3f
parent9f0fb5bec73e4afd84d4dec040a9d54a971620ae
drm/i915: Hold the pps mutex across the whole panel power enable sequence

Just grab the pps_mutex once and do all the pps panel startup operations
while holding the mutex instead of grabbing the mutex separately for
each individual step.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c