]> git.hungrycats.org Git - linux/commit
drm/amd/display: Test DCC and cursor edge cases
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)
commitb3a436a6d76aac8ece0d7cc0f2b49c8eaad08c98
treefd5b707270fcc6ea3d3bc7bbb474696e9d6b8a67
parent551d117ff4e1badbddaae2639fb9e62146327972
drm/amd/display: Test DCC and cursor edge cases

[WHAT]
Add KUnit tests for the capability-callback-failure and not-capable
paths of amdgpu_dm_plane_validate_dcc(), and for the bad-size path of
amdgpu_dm_plane_get_cursor_position().

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