summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorUlisses Paixao <ulissespaixao@usp.br>2026-07-29 10:22:26 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-07-29 17:56:28 -0400
commit9243cf4777fc780157602603caa52c285908f26a (patch)
tree802de68bc3a7b1b8ec5f02794fc93b7cc6fa254f /tools/perf/scripts/python/bin/stackcollapse-record
parentd8b517d3749e77adf2493ccd579b327a97ea13ff (diff)
drm/amd/amdgpu: remove duplicated code in gfx_v11 and gfx_v12
The functions gfx_v11_0_handle_priv_fault and gfx_v12_0_handle_priv_fault share the same logic for searching and triggering a scheduler fault on a ring. This patch moves the shared ring-searching logic to a common function, amdgpu_gfx_handle_priv_fault, in amdgpu_gfx.c. The hardware-specific decoding of ring IDs remains in the version-specific files to maintain proper architectural separation. Signed-off-by: Ulisses Paixao <ulissespaixao@usp.br> Co-developed-by: Felipe Sousa <felipesousa@usp.br> Signed-off-by: Felipe Sousa <felipesousa@usp.br> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions