In preparation for the support of reporting the sink capabilities we
need to read the DSC sink capabilities even if the source does not
support it.

Signed-off-by: Kory Maincent <[email protected]>
---
Change in v3:
- New patch
---
 drivers/gpu/drm/i915/display/intel_dp.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c 
b/drivers/gpu/drm/i915/display/intel_dp.c
index 830fe6eda17d7..b769723a1c0fd 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4521,12 +4521,7 @@ static void intel_edp_get_dsc_sink_cap(u8 edp_dpcd_rev, 
struct intel_connector *
 static void
 intel_dp_detect_dsc_caps(struct intel_dp *intel_dp, struct intel_connector 
*connector)
 {
-       struct intel_display *display = to_intel_display(intel_dp);
-
        /* Read DP Sink DSC Cap DPCD regs for DP v1.4 */
-       if (!HAS_DSC(display))
-               return;
-
        if (intel_dp_is_edp(intel_dp))
                intel_edp_get_dsc_sink_cap(intel_dp->edp_dpcd[0],
                                           connector);

-- 
2.43.0

Reply via email to