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-24 15:05:44 -0500 |
commit | 21431f70f6014f81b0d118ff4fcee12b00b9dd70 (patch) | |
tree | ef3bc996172629d7b77dc12d84fd1238d9984d7f /drivers/leds/leds-spi-byte.c | |
parent | 6eff272dbee7ad444c491c9a96d49e78e91e2161 (diff) |
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/leds/leds-spi-byte.c')
0 files changed, 0 insertions, 0 deletions