]> git.hungrycats.org Git - linux/commit
drm/amd/display: Test MCCS FreeSync VCP helpers
authorAlex Hung <alex.hung@amd.com>
Thu, 25 Jun 2026 05:34:18 +0000 (23:34 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jul 2026 23:12:36 +0000 (19:12 -0400)
commita30c4e979bba8da348a29edd77f103b89f0d717b
tree1b7fd418d33611c11563650cc7b10f83f0b48698
parentf5e5e134dcf010d2ae45a579fe7470bfa357a2c2
drm/amd/display: Test MCCS FreeSync VCP helpers

[WHAT]
Add KUnit coverage for dm_helpers_read_mccs_caps and
dm_helpers_mccs_vcp_set, including the DP/HDMI/legacy-PCON selection,
the i2c VCP request and set packets and the retry-failure paths.

Assisted-by: Copilot:Claude-Opus-4.8
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/amdgpu_dm_helpers.c
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c