Re: [PATCH v2 02/11] drm/tests: Add parameters to the drm_test_framebuffer_create test

2023-10-25 Thread Maxime Ripard
Hi, On Tue, Oct 24, 2023 at 04:09:53PM -0300, Carlos Eduardo Gallo Filho wrote: > 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. Non-zero buffer offset fo

[PATCH v2 02/11] drm/tests: Add parameters to the drm_test_framebuffer_create test

2023-10-24 Thread Carlos Eduardo Gallo Filho
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. Non-zero buffer offset for an unused plane Also replace strcpy to strscpy on test_to_desc for improved security and