Skip to content

Commit 7e1c3be

Browse files
committed
Merge tag 'drm-intel-fixes-2024-02-15' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Fix for #10172: Blank screen on JSL Chromebooks. Stable fix to limit DP SST link rate to <=8.1Gbps. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/Zc37W27F5OvoeSkG@jlahtine-mobl.ger.corp.intel.com
2 parents 38df7e5 + ad26d56 commit 7e1c3be

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2355,6 +2355,9 @@ intel_dp_compute_config_limits(struct intel_dp *intel_dp,
23552355
limits->min_rate = intel_dp_common_rate(intel_dp, 0);
23562356
limits->max_rate = intel_dp_max_link_rate(intel_dp);
23572357

2358+
/* FIXME 128b/132b SST support missing */
2359+
limits->max_rate = min(limits->max_rate, 810000);
2360+
23582361
limits->min_lane_count = 1;
23592362
limits->max_lane_count = intel_dp_max_lane_count(intel_dp);
23602363

drivers/gpu/drm/i915/display/intel_vdsc_regs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
#define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00)
5252
#define _DSCA_PPS_0 0x6B200
5353
#define _DSCC_PPS_0 0x6BA00
54-
#define DSCA_PPS(pps) _MMIO(_DSCA_PPS_0 + (pps) * 4)
55-
#define DSCC_PPS(pps) _MMIO(_DSCC_PPS_0 + (pps) * 4)
54+
#define DSCA_PPS(pps) _MMIO(_DSCA_PPS_0 + ((pps) < 12 ? (pps) : (pps) + 12) * 4)
55+
#define DSCC_PPS(pps) _MMIO(_DSCC_PPS_0 + ((pps) < 12 ? (pps) : (pps) + 12) * 4)
5656
#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PB 0x78270
5757
#define _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB 0x78370
5858
#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PC 0x78470

0 commit comments

Comments
 (0)