diff options
author | Christian König <christian.koenig@amd.com> | 2023-03-08 21:17:59 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-24 18:16:23 -0400 |
commit | 46c1282e5a31c33a6973affbcc765eac1f3f5d1c (patch) | |
tree | d60b80035b8b946e766517e41eb841271b7c982c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | ac9287055ff16a092416c76a19006764e4c6a978 (diff) |
drm/amdgpu: add gfx11 emit shadow callback
Add ring callback for gfx to update the CP firmware
with the new shadow information before we process the
IB.
v2: add implementation for new packet (Alex)
v3: add current FW version checks (Alex)
v4: only initialize shadow on first use
Only set IB_VMID when a valid shadow buffer is present
(Alex)
v5: Pass parameters rather than job to new ring callback (Alex)
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions