diff options
| author | James Zhu <[email protected]> | 2022-07-02 20:41:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:44:48 +0000 |
| commit | f9f74df58faa4d6744acc6d91a81a86895bc7fe8 (patch) | |
| tree | 6c1fe03431a7a45970aada04c15ae07b3cb03da1 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | |
| parent | drm/amdgpu/vcn: use vcn4 irqsrc header for VCN 4.0.3 (diff) | |
| download | kernel-f9f74df58faa4d6744acc6d91a81a86895bc7fe8.tar.gz kernel-f9f74df58faa4d6744acc6d91a81a86895bc7fe8.zip | |
drm/amdgpu/vcn: update vcn header to support multiple AIDs
Add aid_id in vcn header to support multiple AIDs
Signed-off-by: James Zhu <[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 c730949ece7d..1024a06359ca 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h @@ -242,6 +242,7 @@ struct amdgpu_vcn_inst { uint32_t *dpg_sram_curr_addr; atomic_t dpg_enc_submission_cnt; struct amdgpu_vcn_fw_shared fw_shared; + uint8_t aid_id; }; struct amdgpu_vcn_ras { @@ -271,6 +272,8 @@ struct amdgpu_vcn { struct ras_common_if *ras_if; struct amdgpu_vcn_ras *ras; + + uint8_t num_inst_per_aid; }; struct amdgpu_fw_shared_rb_ptrs_struct { |
