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)
commit99fa4bc26d74e49e3d7d70f29a106943f48924ea
treed374b59e213d479010277a849dc6361c4671f180
parent3a52fb7e7953f0b13df8c05d0d74b56a66888f30
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