Skip to content

Commit d19daff

Browse files
committed
drm/i915/dp_mst: Use connector DSC DPCD in intel_dp_mst_mode_valid_ctx()
Use the connector's DSC DPCD capabilities in intel_dp_mst_mode_valid_ctx(). 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 2bd3d20 commit d19daff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,14 +996,14 @@ intel_dp_mst_mode_valid_ctx(struct drm_connector *connector,
996996
}
997997

998998
if (DISPLAY_VER(dev_priv) >= 10 &&
999-
drm_dp_sink_supports_dsc(intel_dp->dsc_dpcd)) {
999+
drm_dp_sink_supports_dsc(intel_connector->dp.dsc_dpcd)) {
10001000
/*
10011001
* TBD pass the connector BPC,
10021002
* for now U8_MAX so that max BPC on that platform would be picked
10031003
*/
10041004
int pipe_bpp = intel_dp_dsc_compute_max_bpp(intel_connector, U8_MAX);
10051005

1006-
if (drm_dp_sink_supports_fec(intel_dp->fec_capable)) {
1006+
if (drm_dp_sink_supports_fec(intel_connector->dp.fec_capability)) {
10071007
dsc_max_compressed_bpp =
10081008
intel_dp_dsc_get_max_compressed_bpp(dev_priv,
10091009
max_link_clock,

0 commit comments

Comments
 (0)