]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/tests: Add parameters to the drm_test_framebuffer_create test
authorCarlos Eduardo Gallo Filho <gcarlos@disroot.org>
Wed, 11 Sep 2024 00:15:27 +0000 (21:15 -0300)
committerMaxime Ripard <mripard@kernel.org>
Wed, 11 Sep 2024 12:17:07 +0000 (14:17 +0200)
commite2b5f1da5fb9c899468067d859e604ae922664b1
treeb45abaa1ab210f5ceee3614636785216928eb066
parent96d068ea0d77e3bec79cf8199fce1aaa28cd256e
drm/tests: Add parameters to the drm_test_framebuffer_create test

Extend the existing test case to cover:
1. Invalid flag atribute in the struct drm_mode_fb_cmd2.
2. Pixel format which requires non-linear modifier with
DRM_FORMAT_MOD_LINEAR set.
3. Buffer offset for inexistent plane

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-3-gcarlos@disroot.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/tests/drm_framebuffer_test.c