]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/tests: Add test for drm_framebuffer_lookup()
authorCarlos Eduardo Gallo Filho <gcarlos@disroot.org>
Wed, 11 Sep 2024 00:15:32 +0000 (21:15 -0300)
committerMaxime Ripard <mripard@kernel.org>
Wed, 11 Sep 2024 12:17:10 +0000 (14:17 +0200)
commit3b3732b0d30fa2bb07c2b7f95df9b33b75e32d07
tree60199a411c5b989e69f95aec002cc78eea5a3c42
parent1bb74f6cc3d593fff7c96314ec4901a4055cbf17
drm/tests: Add test for drm_framebuffer_lookup()

Add two KUnit test cases for the drm_framebuffer_lookup function, one
for the base case, that tests if the lookup finds the correct framebuffer
object and another that tests the lookup for an inexistent framebuffer.

Signed-off-by: Carlos Eduardo Gallo Filho <gcarlos@disroot.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240911001559.28284-8-gcarlos@disroot.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/tests/drm_framebuffer_test.c