Skip to content

Commit

Permalink
drm/amdgpu: add vcn ip dump ptr in vcn global struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sunil Khatri authored and Alex Deucher committed Jul 27, 2024
1 parent 8f28c46 commit f3392e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f3392e6

Please sign in to comment.