Skip to content

Commit dd7eb65

Browse files
vsyrjalajnikula
authored andcommitted
drm/i915/mst: Reject modes that require the bigjoiner
We have no bigjoiner support in the MST code, so .mode_valid() pretending otherwise is just going to result black screens for users. Reject any mode that needs the joiner. Cc: [email protected] Cc: Stanislav Lisovskiy <[email protected]> Fixes: d51f25e ("drm/i915: Add DSC support to MST path") Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]> (cherry picked from commit 9c05849) Signed-off-by: Jani Nikula <[email protected]>
1 parent 7cf82b2 commit dd7eb65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,10 @@ intel_dp_mst_mode_valid_ctx(struct drm_connector *connector,
997997
if (intel_dp_need_bigjoiner(intel_dp, mode->hdisplay, target_clock)) {
998998
bigjoiner = true;
999999
max_dotclk *= 2;
1000+
1001+
/* TODO: add support for bigjoiner */
1002+
*status = MODE_CLOCK_HIGH;
1003+
return 0;
10001004
}
10011005

10021006
if (DISPLAY_VER(dev_priv) >= 10 &&

0 commit comments

Comments
 (0)