diff options
author | Roman Li <Roman.Li@amd.com> | 2025-04-02 00:05:10 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-04-22 23:45:10 +0300 |
commit | 7eb287beeb60be1e4437be2b4e4e9f0da89aab97 (patch) | |
tree | e222f91a320bcb2f25d2d285cd027ee86b4e4c92 /rust/helpers/err.c | |
parent | 5e56935b519b2fbbca1cafa0cef3c7c3d062f62d (diff) | |
download | linux-7eb287beeb60be1e4437be2b4e4e9f0da89aab97.tar.xz |
drm/amd/display: Fix gpu reset in multidisplay config
[Why]
The indexing of stream_status in dm_gpureset_commit_state() is incorrect.
That leads to asserts in multi-display configuration after gpu reset.
[How]
Adjust the indexing logic to align stream_status with surface_updates.
Fixes: cdaae8371aa9 ("drm/amd/display: Handle GPU reset for DC block")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3808
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d91bc901398741d317d9b55c59ca949d4bc7394b)
Cc: stable@vger.kernel.org
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions