drm/amdgpu: add vcn ip dump ptr in vcn global struct
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 23 Jul 2024 07:38:55 +0000 (13:08 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Aug 2024 18:23:45 +0000 (14:23 -0400)
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 <sunil.khatri@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h

index c87d68d4be536539c8bcca899cbc03058bd19c7a..2a1f3dbb14d3f46030d70ce56aaad76911711176 100644 (file)
@@ -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 {