]> www.infradead.org Git - users/hch/configfs.git/commitdiff
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>
Sat, 27 Jul 2024 21:28:17 +0000 (17:28 -0400)
Add pointer to the vcn ip dump in the vcn global structure
to be accessible for all vcn version via global adev.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h

index 1a5439abd1a043d68c378c3fbb41c9e167c4c60f..f127eccf59d7789a4816e30ae615c0430e231174 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 {