aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorLikun Gao <[email protected]>2023-01-10 07:34:32 +0000
committerAlex Deucher <[email protected]>2024-04-30 14:01:49 +0000
commite8a31b4e811a04e5d83dc036fa9542210867b7ca (patch)
treee6dae624a6a8384ae74ac01d42b1150bee18aea7 /drivers/gpu/drm/amd/amdgpu
parentdrm/amdgpu: add gfx12 mqd structures (diff)
downloadkernel-e8a31b4e811a04e5d83dc036fa9542210867b7ca.tar.gz
kernel-e8a31b4e811a04e5d83dc036fa9542210867b7ca.zip
drm/amdgpu: Add new members for sdma v7_0 fw
Add new members in sdma instance structure for sdma v7_0 firmware. Signed-off-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
index b51a82e711df..d3706a484870 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
@@ -60,6 +60,10 @@ struct amdgpu_sdma_instance {
struct amdgpu_ring page;
bool burst_nop;
uint32_t aid_id;
+
+ struct amdgpu_bo *sdma_fw_obj;
+ uint64_t sdma_fw_gpu_addr;
+ uint32_t *sdma_fw_ptr;
};
enum amdgpu_sdma_ras_memory_id {