diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-08-27 16:36:56 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-10 12:03:45 -0400 |
| commit | 7aa0380017bbdb350b3c46f8e6b053462013edbc (patch) | |
| tree | f15467cb4446f2da0bd231f858d55015e05729db /tools/perf/scripts/python/stackcollapse.py | |
| parent | 094901372adc0a2c784c052938c86571eb837630 (diff) | |
| download | linux-7aa0380017bbdb350b3c46f8e6b053462013edbc.tar.gz linux-7aa0380017bbdb350b3c46f8e6b053462013edbc.zip | |
drm/amd/display: Validate irq source in DM IRQ handler
[Why]
dc_interrupt_to_irq_source() can return DC_IRQ_SOURCE_INVALID for an
unmapped src_id/src_data pair. The value was passed straight to
dc_interrupt_ack() and used to index the DM high/low handler tables.
[How]
Reject sources outside the valid range before using them.
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@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
