]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915: Disable power asynchronously during DP AUX transfers
authorImre Deak <imre.deak@intel.com>
Thu, 9 May 2019 17:34:40 +0000 (20:34 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 14 May 2019 11:06:30 +0000 (14:06 +0300)
commitf39194a7a8b903923c83f563cbe5a651fd00dd93
treee3038cc10e23483d5655d54a2b7fffde7462c3a6
parente0da2d63ab3ac746d61b8861085fd3abbef011c6
drm/i915: Disable power asynchronously during DP AUX transfers

In a follow-up patch we will restrict holding the reference on the AUX
power domain to the AUX transfer function. To avoid the unnecessary
on-off-on power togglings drop the reference asynchronously.

There is no reason we couldn't do this in general and also put the
reference asynchronously in pps_unlock(); but that's a separate change
that can be done as a follow-up.

Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190509173446.31095-6-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c