Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915/dsc: Remove redundant checks in DSC disable
@ 2021-06-03  6:53 Vandita Kulkarni
  2021-06-03  7:37 ` Saarinen, Jani
  2021-06-03  8:44 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 10+ messages in thread
From: Vandita Kulkarni @ 2021-06-03  6:53 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

There can be a chance that pre os has enabled
DSC and driver's compute config would not need
dsc to be enabled, in such case if we check on
compute config's compression state to disable,
we might end up in state mismatch.

Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
---
 drivers/gpu/drm/i915/display/intel_vdsc.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_vdsc.c b/drivers/gpu/drm/i915/display/intel_vdsc.c
index 19cd9531c115..b05a96011d93 100644
--- a/drivers/gpu/drm/i915/display/intel_vdsc.c
+++ b/drivers/gpu/drm/i915/display/intel_vdsc.c
@@ -1161,10 +1161,6 @@ void intel_dsc_disable(const struct intel_crtc_state *old_crtc_state)
 	struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
 	struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
 
-	if (!(old_crtc_state->dsc.compression_enable &&
-	      old_crtc_state->bigjoiner))
-		return;
-
 	intel_de_write(dev_priv, dss_ctl1_reg(old_crtc_state), 0);
 	intel_de_write(dev_priv, dss_ctl2_reg(old_crtc_state), 0);
 }
-- 
2.21.0.5.gaeb582a

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-06-04  7:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-03  6:53 [Intel-gfx] [PATCH] drm/i915/dsc: Remove redundant checks in DSC disable Vandita Kulkarni
2021-06-03  7:37 ` Saarinen, Jani
2021-06-03  8:47   ` Kulkarni, Vandita
2021-06-03  9:41     ` Jani Nikula
2021-06-03 11:24       ` Kulkarni, Vandita
2021-06-03 13:53         ` Manna, Animesh
2021-06-03 15:37           ` Kulkarni, Vandita
2021-06-03 18:45             ` Navare, Manasi
2021-06-04  7:31               ` Kulkarni, Vandita
2021-06-03  8:44 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox