drm/amd/display: Avoid updating surface with the same surface under MPO
authorWayne Lin <Wayne.Lin@amd.com>
Fri, 23 Jan 2026 06:47:01 +0000 (14:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Feb 2026 20:08:13 +0000 (15:08 -0500)
commit1a38ded4bc8ac09fd029ec656b1e2c98cc0d238c
treed7e267467c0a988325004e49228afb171999ab90
parent64c94cd9be2e188ed07efeafa6a109bce638c967
drm/amd/display: Avoid updating surface with the same surface under MPO

[Why & How]
Although it's dummy updates of surface update for committing stream
updates, we should not have dummy_updates[j].surface all indicating
to the same surface under multiple surfaces case. Otherwise,
copy_surface_update_to_plane() in update_planes_and_stream_state()
will update to the same surface only.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c