drm/amd/display: Test dmub HPD callbacks and handlers
authorAlex Hung <alex.hung@amd.com>
Tue, 23 Jun 2026 05:54:13 +0000 (23:54 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2026 13:15:38 +0000 (09:15 -0400)
commita76f7d5a14bb7c96ee9680cbba7d711e166b5672
tree0de6e493b3c6f2b8ed1a0210568cb96eb4ee8446
parent4c28526e9a1089ff86db5a2680a4fa3897ae477c
drm/amd/display: Test dmub HPD callbacks and handlers

[WHAT]
Add KUnit tests for the DMUB HPD notification callbacks
(dmub_hpd_callback, dmub_hpd_sense_callback) and for
amdgpu_dm_register_hpd_handlers().

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_irq.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h
drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_irq_test.c