diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2021-11-09 11:24:10 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-22 14:59:13 -0500 |
commit | 6984fa418b8efde7662af151bae4b8dc66e65fcf (patch) | |
tree | 7efbbbc60dd46161158f6c8d2c0da43f5dcaad64 /drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c | |
parent | 1edf5ae1fdaffb67c1b93e98df670cbe535d13cf (diff) | |
download | linux-6984fa418b8efde7662af151bae4b8dc66e65fcf.tar.gz linux-6984fa418b8efde7662af151bae4b8dc66e65fcf.tar.bz2 linux-6984fa418b8efde7662af151bae4b8dc66e65fcf.zip |
drm/amd/display: Set plane update flags for all planes in reset
[Why]
We're only setting the flags on stream[0]'s planes so this logic fails
if we have more than one stream in the state.
This can cause a page flip timeout with multiple displays in the
configuration.
[How]
Index into the stream_status array using the stream index - it's a 1:1
mapping.
Fixes: cdaae8371aa9 ("drm/amd/display: Handle GPU reset for DC block")
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c')
0 files changed, 0 insertions, 0 deletions