Skip to content

Commit 3a9ec56

Browse files
committed
drm/i915/icl: Fix initing the DSI DSC power refcount during HW readout
For an enabled DSC during HW readout the corresponding power reference is taken along the CRTC power domain references in get_crtc_power_domains(). Remove the incorrect get ref from the DSI encoder hook. Cc: Vandita Kulkarni <vandita.kulkarni@intel.com> Cc: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201209153952.3397959-1-imre.deak@intel.com
1 parent fd8a5b2 commit 3a9ec56

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/gpu/drm/i915/display/icl_dsi.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,10 +1619,6 @@ static void gen11_dsi_get_power_domains(struct intel_encoder *encoder,
16191619

16201620
get_dsi_io_power_domains(i915,
16211621
enc_to_intel_dsi(encoder));
1622-
1623-
if (crtc_state->dsc.compression_enable)
1624-
intel_display_power_get(i915,
1625-
intel_dsc_power_domain(crtc_state));
16261622
}
16271623

16281624
static bool gen11_dsi_get_hw_state(struct intel_encoder *encoder,

0 commit comments

Comments
 (0)