diff options
| author | Leonardo Cesar <leonardocesar@usp.br> | 2026-04-28 20:19:44 -0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-05 09:56:29 -0400 |
| commit | dc0d6fdfa5b6ab36ddaa774265261336c3e7dbae (patch) | |
| tree | 97128fe97a8bfa1596f76c407b7297a577478ef5 /include/linux/debugobjects.h | |
| parent | c1a3ff1d327820cd9a52bc1056b98681fc088949 (diff) | |
drm/amdgpu: deduplicate ring preempt ib function
The ring preemption function is identical for both gfx_v11_0 and
gfx_v12_0. This patch refactors the code by moving the core logic
into a generic function inside amdgpu_gfx.c to reduce code
duplication and simplify future maintenance.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Leonardo Cesar <leonardocesar@usp.br>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
