Skip to content

Commit 2708354

Browse files
vsyrjalagregkh
authored andcommitted
drm/i915: Disable port sync when bigjoiner is used
commit 0653d50 upstream. The current modeset sequence can't handle port sync and bigjoiner at the same time. Refuse port sync when bigjoiner is needed, at least until we fix the modeset sequence. v2: Add a FIXME (Vandite) Cc: [email protected] Tested-by: Vidya Srinivas <[email protected]> Reviewed-by: Vandita Kulkarni <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Ville Syrjälä <[email protected]> (cherry picked from commit b37e134) Signed-off-by: Rodrigo Vivi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d1742f7 commit 2708354

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4111,7 +4111,12 @@ static bool m_n_equal(const struct intel_link_m_n *m_n_1,
41114111
static bool crtcs_port_sync_compatible(const struct intel_crtc_state *crtc_state1,
41124112
const struct intel_crtc_state *crtc_state2)
41134113
{
4114+
/*
4115+
* FIXME the modeset sequence is currently wrong and
4116+
* can't deal with bigjoiner + port sync at the same time.
4117+
*/
41144118
return crtc_state1->hw.active && crtc_state2->hw.active &&
4119+
!crtc_state1->bigjoiner_pipes && !crtc_state2->bigjoiner_pipes &&
41154120
crtc_state1->output_types == crtc_state2->output_types &&
41164121
crtc_state1->output_format == crtc_state2->output_format &&
41174122
crtc_state1->lane_count == crtc_state2->lane_count &&

0 commit comments

Comments
 (0)