]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/tests: hdmi: Reorder DRM entities variables assignment
authorMaxime Ripard <mripard@kernel.org>
Wed, 29 Jan 2025 14:21:55 +0000 (15:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:17 +0000 (12:54 -0700)
commitb0f9bb67869dcab549bfbd433aa0eede034d99d1
tree12296bf88f2a01c86a6eca54b4758de39be3b968
parent9828d2f2a6ee9a99996fc85158bd20256a274d74
drm/tests: hdmi: Reorder DRM entities variables assignment

[ Upstream commit 6b6bfd63e1626ceedc738b2a06505aa5b46c1481 ]

The tests all deviate slightly in how they assign their local pointers
to DRM entities. This makes refactoring pretty difficult, so let's just
move the assignment as soon as the entities are allocated.

Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20250129-test-kunit-v2-3-fe59c43805d5@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c