drm/amd/display: Test GFX12 DCC plane attributes
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:39 +0000 (09:15 -0400)
commit551d117ff4e1badbddaae2639fb9e62146327972
tree6993b484d703c0b07ee35725583f57f0e4a3f562
parentfd1522c72df03ed7eb43dbcd1f85d299a9aac7be
drm/amd/display: Test GFX12 DCC plane attributes

[WHAT]
Add KUnit tests for
amdgpu_dm_plane_fill_gfx12_plane_attributes_from_modifiers() covering
the block0, unconstrained-block and validation-failure cases.

Add the dm_test_gfx12_attrs() helper used to build the GFX12 inputs.

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