summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2023-02-17 15:57:51 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 16:55:59 +0300
commitaaf1090a6cb66e8b6d9da63ee983604a7eca8ffd (patch)
tree87a50a5837597a63274dde83784b1b341c94523c /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
parent48d19834ea551af2932090ff6de04730007e9876 (diff)
downloadlinux-aaf1090a6cb66e8b6d9da63ee983604a7eca8ffd.tar.xz
drm/amdgpu: Add instance mask for VCN and JPEG
Keep an instance mask formed by physical instance numbers for VCN and JPEG IPs. Populate the mask from discovery table information. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Acked-by: Leo Liu <leo.liu@amd.com> Tested-by: James Zhu <James.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
index 6ea3f076257e..47463ef10fce 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
@@ -273,6 +273,7 @@ struct amdgpu_vcn {
struct ras_common_if *ras_if;
struct amdgpu_vcn_ras *ras;
+ uint16_t inst_mask;
uint8_t num_inst_per_aid;
};