]> git.hungrycats.org Git - linux/commit
drm/amd/display: Test format info and blending
authorAlex Hung <alex.hung@amd.com>
Fri, 26 Jun 2026 23:35:52 +0000 (17:35 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2026 13:15:38 +0000 (09:15 -0400)
commitda2fe19f1b0a9a3ca03001c6c741605a9586f352
tree7d964359f0220c6f5713c30def1d4e0eca82991e
parent5788ae1fb5effd6be75b13021c7e61e4f0a26fb3
drm/amd/display: Test format info and blending

[WHAT]
Add KUnit coverage for amdgpu_dm_plane_get_format_info(), the overlay
universal-plane path of get_plane_formats(), the D-swizzle rejection
path of format_mod_supported(), and the DCN4.2 variant of
fill_blending_from_plane_state().

These exercise format-query and blending code paths that the existing
suite did not cover.

Assisted-by: Copilot:Claude-Opus-4.8 GPT-5.5
Reviewed-by: Bhawanpreet Lakha <bhawanpreet.lakha@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Zhang <george.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_plane_test.c