[PATCH 14/17] drm/amdgpu: add AMDGPU_HW_IP_VCN_JPEG_ENC for jpeg enc
boyuan.zhang at amd.com
boyuan.zhang at amd.com
Thu Jul 4 16:04:26 UTC 2019
From: Boyuan Zhang <boyuan.zhang at amd.com>
Add AMDGPU_HW_IP_VCN_JPEG_ENC type for jpeg encode CS in drm header
Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
---
include/uapi/drm/amdgpu_drm.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 4ef4434a6be2..c9be1c70bf52 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -576,7 +576,8 @@ struct drm_amdgpu_gem_va {
#define AMDGPU_HW_IP_VCN_DEC 6
#define AMDGPU_HW_IP_VCN_ENC 7
#define AMDGPU_HW_IP_VCN_JPEG 8
-#define AMDGPU_HW_IP_NUM 9
+#define AMDGPU_HW_IP_VCN_JPEG_ENC 9
+#define AMDGPU_HW_IP_NUM 10
#define AMDGPU_HW_IP_INSTANCE_MAX_COUNT 1
--
2.17.1
More information about the amd-gfx
mailing list