summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2022-04-23 22:15:43 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-08-31 16:33:09 -0400
commit2d6ea3b07c371ea1d80f6c41cb7b4ce7c5cf3cd4 (patch)
tree31a7b8c54d3f6e0055b6a3e74a75f85ca27e03aa /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parentf65239008a1f5f9b72de6e7259dfd1b7af45a8af (diff)
downloadlinux-stable-2d6ea3b07c371ea1d80f6c41cb7b4ce7c5cf3cd4.tar.gz
linux-stable-2d6ea3b07c371ea1d80f6c41cb7b4ce7c5cf3cd4.tar.bz2
linux-stable-2d6ea3b07c371ea1d80f6c41cb7b4ce7c5cf3cd4.zip
drm/amdgpu: add VPE RING TYPE definition
Add RING TYPE for Video Processing Engine. Signed-off-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
index e2ab303ad270..5b3e354f6b4a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
@@ -44,6 +44,7 @@ struct amdgpu_vm;
#define AMDGPU_MAX_COMPUTE_RINGS 8
#define AMDGPU_MAX_VCE_RINGS 3
#define AMDGPU_MAX_UVD_ENC_RINGS 2
+#define AMDGPU_MAX_VPE_RINGS 2
enum amdgpu_ring_priority_level {
AMDGPU_RING_PRIO_0,
@@ -77,6 +78,7 @@ enum amdgpu_ring_type {
AMDGPU_RING_TYPE_VCN_DEC = AMDGPU_HW_IP_VCN_DEC,
AMDGPU_RING_TYPE_VCN_ENC = AMDGPU_HW_IP_VCN_ENC,
AMDGPU_RING_TYPE_VCN_JPEG = AMDGPU_HW_IP_VCN_JPEG,
+ AMDGPU_RING_TYPE_VPE = AMDGPU_HW_IP_VPE,
AMDGPU_RING_TYPE_KIQ,
AMDGPU_RING_TYPE_MES
};