linux/drivers/gpu/drm/amd
Maxime Ripard 87882cd6de
drm/amdgpu_dm: tests: Fix wrong variable declaration after merge conflict
Commit 2bcec01cf1 ("drm/amdgpu_dm: Convert to atomic_create_state")
converted dm_test_plane_create_state_initializes_state() to call
amdgpu_dm_plane_drm_plane_create_state(), which returns a struct
drm_plane_state pointer stored in a new plane_state variable.

However, the merge conflict resolution kept the old declaration
(struct dm_plane_state *old_state) instead of replacing it with
struct drm_plane_state *plane_state, leaving an unused variable with
the wrong type.

Fix the declaration to match what the conversion intended.

Fixes: 2bcec01cf1 ("drm/amdgpu_dm: Convert to atomic_create_state")
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patch.msgid.link/20260915101251.1711103-1-mripard@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2026-09-15 16:13:04 +02:00
..
acp
amdgpu drm/amdgpu: Convert to atomic_create_state 2026-09-15 11:46:46 +02:00
amdkfd kmalloc_obj conversions for v7.3-rc2 2026-09-05 20:45:18 -07:00
amdxcp drm/amdxcp: Add more checks to amdxcp 2026-06-17 16:21:58 -04:00
display drm/amdgpu_dm: tests: Fix wrong variable declaration after merge conflict 2026-09-15 16:13:04 +02:00
include drm/amdgpu/gfx6: Add IP block soft reset implementation 2026-08-06 12:47:46 -04:00
pm treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
ras treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00