Skip to content

Commit 2bd3d20

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2150,7 +2150,7 @@ int intel_dp_dsc_compute_config(struct intel_dp *intel_dp,
21502150
/* Calculate Slice count */
21512151
if (intel_dp_is_edp(intel_dp)) {
21522152
pipe_config->dsc.slice_count =
2153-
drm_dp_dsc_sink_max_slice_count(intel_dp->dsc_dpcd,
2153+
drm_dp_dsc_sink_max_slice_count(connector->dp.dsc_dpcd,
21542154
true);
21552155
if (!pipe_config->dsc.slice_count) {
21562156
drm_dbg_kms(&dev_priv->drm, "Unsupported Slice Count %d\n",

0 commit comments

Comments
 (0)