Skip to content

Commit 102c801

Browse files
committed
drm/i915/dp: Use connector DSC DPCD in i915_dsc_fec_support_show()
Use the connector's DSC DPCD capabilities in i915_dsc_fec_support_show() instead of the version stored in the encoder. Atm the two are identical, but a follow-up patch will store the (MST) connector specific version in the connector. Reviewed-by: Stanislav Lisovskiy <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 829d8a1 commit 102c801

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,19 +1235,19 @@ static int i915_dsc_fec_support_show(struct seq_file *m, void *data)
12351235
seq_printf(m, "DSC_Enabled: %s\n",
12361236
str_yes_no(crtc_state->dsc.compression_enable));
12371237
seq_printf(m, "DSC_Sink_Support: %s\n",
1238-
str_yes_no(drm_dp_sink_supports_dsc(intel_dp->dsc_dpcd)));
1238+
str_yes_no(drm_dp_sink_supports_dsc(connector->dp.dsc_dpcd)));
12391239
seq_printf(m, "DSC_Output_Format_Sink_Support: RGB: %s YCBCR420: %s YCBCR444: %s\n",
1240-
str_yes_no(drm_dp_dsc_sink_supports_format(intel_dp->dsc_dpcd,
1240+
str_yes_no(drm_dp_dsc_sink_supports_format(connector->dp.dsc_dpcd,
12411241
DP_DSC_RGB)),
1242-
str_yes_no(drm_dp_dsc_sink_supports_format(intel_dp->dsc_dpcd,
1242+
str_yes_no(drm_dp_dsc_sink_supports_format(connector->dp.dsc_dpcd,
12431243
DP_DSC_YCbCr420_Native)),
1244-
str_yes_no(drm_dp_dsc_sink_supports_format(intel_dp->dsc_dpcd,
1244+
str_yes_no(drm_dp_dsc_sink_supports_format(connector->dp.dsc_dpcd,
12451245
DP_DSC_YCbCr444)));
12461246
seq_printf(m, "Force_DSC_Enable: %s\n",
12471247
str_yes_no(intel_dp->force_dsc_en));
12481248
if (!intel_dp_is_edp(intel_dp))
12491249
seq_printf(m, "FEC_Sink_Support: %s\n",
1250-
str_yes_no(drm_dp_sink_supports_fec(intel_dp->fec_capable)));
1250+
str_yes_no(drm_dp_sink_supports_fec(connector->dp.fec_capability)));
12511251
} while (try_again);
12521252

12531253
drm_modeset_drop_locks(&ctx);

0 commit comments

Comments
 (0)