summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2022-10-20 11:46:35 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-11-18 02:08:20 +0300
commit377d02215ffb829f16d116e2f11b4d5218a4d581 (patch)
tree0f5e689abd4c48a651d38c84599fc8ac7714219e /drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h
parent214c76427d2276ba48dde4097ba57b963286657d (diff)
downloadlinux-377d02215ffb829f16d116e2f11b4d5218a4d581.tar.xz
drm/amdgpu: add RAS query support for VCN 4.0
Initialize VCN RAS structure and add RAS status query function. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h
index 7c5c9d91bb52..7d3d11f40f27 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h
@@ -24,6 +24,12 @@
#ifndef __VCN_V4_0_H__
#define __VCN_V4_0_H__
+enum amdgpu_vcn_v4_0_sub_block {
+ AMDGPU_VCN_V4_0_VCPU_VCODEC = 0,
+
+ AMDGPU_VCN_V4_0_MAX_SUB_BLOCK,
+};
+
extern const struct amdgpu_ip_block_version vcn_v4_0_ip_block;
#endif /* __VCN_V4_0_H__ */