diff options
| author | Sunil Khatri <[email protected]> | 2024-07-23 07:38:55 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-08-16 18:23:45 +0000 |
| commit | 27a74c125d029d0606b81ef865bb68dd975ca2f7 (patch) | |
| tree | 79d43d80ff6901dc050225773f624079d38a03b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | |
| parent | drm/amd: Remove unused declarations (diff) | |
| download | kernel-27a74c125d029d0606b81ef865bb68dd975ca2f7.tar.gz kernel-27a74c125d029d0606b81ef865bb68dd975ca2f7.zip | |
drm/amdgpu: add vcn ip dump ptr in vcn global struct
Add pointer to the vcn ip dump in the vcn global structure
to be accessible for all vcn version via global adev.
Signed-off-by: Sunil Khatri <[email protected]>
Acked-by: Leo Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h index c87d68d4be53..2a1f3dbb14d3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h @@ -330,6 +330,9 @@ struct amdgpu_vcn { uint16_t inst_mask; uint8_t num_inst_per_aid; bool using_unified_queue; + + /* IP reg dump */ + uint32_t *ip_dump; }; struct amdgpu_fw_shared_rb_ptrs_struct { |
