diff options
| author | Xiang Liu <xiang.liu@amd.com> | 2026-06-23 10:59:18 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-01 11:47:46 -0400 |
| commit | 2bf6867e5953a140fc91c3159987656e44ed29fb (patch) | |
| tree | 31db2c1dbaab52f02f78620e5735edaad03e74fe /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2d222780579fad6c46532d147c795a55d4604bfd (diff) | |
drm/amd/pm: Guard VBIOS AC timing table walk
Reject AC timing blocks with a stride smaller than a dword before walking
VBIOS data. A zero stride can otherwise keep reg_data pinned on a
nonmatching MEM_ID forever.
Also bound the data-block and END marker reads by the returned VRAM_Info
table size so malformed index/data sizes do not push the timing walk past
the table.
Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
