mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
drm/amd/display: Prevent master programming in multisync
Verify that the stream is master - and program only the slave displays Signed-off-by: Mikita Lipski <mikita.lipski@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
3bc4aaa952
commit
03736f4cf8
@@ -2348,7 +2348,7 @@ static void set_master_stream(struct dc_stream_state *stream_set[],
|
||||
}
|
||||
}
|
||||
for (j = 0; j < stream_count; j++) {
|
||||
if (stream_set[j] && j != master_stream)
|
||||
if (stream_set[j])
|
||||
stream_set[j]->triggered_crtc_reset.event_source = stream_set[master_stream];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user