drm/amd/display: Test helper_check_state rejects
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)
commite0e426f10ad653c5e9dd33fb4a76d55f06101992
treef03c7f352a2b569cdd0d2219634cc4c888fc3339
parentb3a436a6d76aac8ece0d7cc0f2b49c8eaad08c98
drm/amd/display: Test helper_check_state rejects

[WHAT]
Add KUnit tests for amdgpu_dm_plane_helper_check_state() covering the
small viewport width, small viewport height, bottom-edge clipping and
scaling-caps rejection paths.

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