]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Simplify release of encoder power refs
authorImre Deak <imre.deak@intel.com>
Fri, 5 Apr 2019 15:36:57 +0000 (18:36 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 8 Apr 2019 12:15:48 +0000 (15:15 +0300)
commitaf8dbcf77293bece86401c865380b612da3623e3
treed374b59e213d479010277a849dc6361c4671f180
parent755d6a58e0189b7d15b331297a0c1761d3f3b29f
drm/i915/icl: Simplify release of encoder power refs

We can unconditionally release the power references during encoder
disabling. The references for each port used by the encoder are
guaranteed to be enabled at this point.

Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190405153657.20921-2-imre.deak@intel.com
drivers/gpu/drm/i915/icl_dsi.c