diff options
| author | Timur Kristóf <timur.kristof@gmail.com> | 2026-06-24 09:38:28 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-01 11:39:31 -0400 |
| commit | 070e834f97756f2e592005b51d9a7d6104e3298d (patch) | |
| tree | cf08f56e0ccd9d9fac9e049bb8a1d96a1959e0af /tools/perf/scripts/python | |
| parent | aa7e29cf9a37092cf5057a612ee09f28df20258f (diff) | |
drm/amdgpu: Simplify filtering rings during IP block soft reset
Instead of storing pointers to affected rings in an array,
just iterate over all rings of the device and filter the
affected rings by type using the type mask.
This is done to save memory used by the array of affected
rings which was sized AMDGPU_MAX_RINGS.
Suggested-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> # for the series
Link: https://patch.msgid.link/20260624073829.40835-1-timur.kristof@gmail.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
