diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-06-25 12:01:11 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-15 09:15:38 -0400 |
| commit | b11706cb7d185aba510887a584ec4f7da513b60e (patch) | |
| tree | cfb50f47dff1680ec9faff328dc48b5e45f8aa31 /tools/perf/scripts/python/stackcollapse.py | |
| parent | aec345ba11e8d570e3dc94101d6472884d822b38 (diff) | |
drm/amd/display: Test top-level IRQ handler and vmin/vmax worker
[WHAT]
Add KUnit coverage for the two remaining uncovered functions in
amdgpu_dm_irq.c: amdgpu_dm_irq_handler() and dm_handle_vmin_vmax_update().
amdgpu_dm_irq_handler() is driven with a fake dc whose irq_service maps
the hardware IRQ entry to a DC source and whose per-source info table
lets dc_interrupt_ack() succeed; high- and low-context counting handlers
verify the immediate and scheduled dispatch 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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
