aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTrek <[email protected]>2019-08-31 21:25:36 +0200
committerAlex Deucher <[email protected]>2019-09-16 10:42:56 -0500
commit13238d4fa6764fa74dcf863d5f2227765b3753eb (patch)
treee9fd7081de784563e3a5ffd52c8239bfbd5e7102 /tools/perf/scripts/python/export-to-postgresql.py
parent80f349ce5572a1392dd4d8d25784378ad2c5f25d (diff)
drm/amdgpu: Check for valid number of registers to read
Do not try to allocate any amount of memory requested by the user. Instead limit it to 128 registers. Actually the longest series of consecutive allowed registers are 48, mmGB_TILE_MODE0-31 and mmGB_MACROTILE_MODE0-15 (0x2644-0x2673). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=111273 Signed-off-by: Trek <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions