summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2026-04-23 04:51:47 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 18:54:37 +0300
commit15b2363e90f7a0b5b904ab2f011593fef3f73e16 (patch)
tree438cd55d938d795756b39eb61fc4b6c6b168376e /include/linux
parent53af0cf6c8e8712da2c30c55fd2b9118c8445b83 (diff)
downloadlinux-15b2363e90f7a0b5b904ab2f011593fef3f73e16.tar.xz
drm/amd/display: Add KUnit test for replay
Add KUnit tests for amdgpu_dm_link_supports_replay() which validates panel replay capability based on link DPCD caps, freesync state, and VSDB info. Nine test cases cover the positive path and each individual failure condition. Export the function under CONFIG_DRM_AMD_DC_KUNIT_TEST and add the amdgpu include path to the tests Makefile so that amdgpu_dm.h can resolve amdgpu_mode.h types under UML. Assisted-by: Copilot:Claude-Opus-4.6 Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions