summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2017-02-15 16:24:55 +0100
committerAlex Deucher <alexander.deucher@amd.com>2017-05-24 23:41:35 +0200
commitfcfc5a90628f69c08018c8ec7b3d6dca5a8a2203 (patch)
tree6b398b328475e798c90187f4012dcedce0ad11b6 /include/uapi
parentuapi/drm: add AMDGPU_HW_IP_VCN_DEC for decode CS (diff)
downloadlinux-fcfc5a90628f69c08018c8ec7b3d6dca5a8a2203.tar.xz
linux-fcfc5a90628f69c08018c8ec7b3d6dca5a8a2203.zip
uapi/drm: add AMDGPU_HW_IP_VCN_ENC for encode CS
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/amdgpu_drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 6ad29c9a4b1f..0c0c4a491038 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -432,7 +432,8 @@ struct drm_amdgpu_gem_va {
#define AMDGPU_HW_IP_VCE 4
#define AMDGPU_HW_IP_UVD_ENC 5
#define AMDGPU_HW_IP_VCN_DEC 6
-#define AMDGPU_HW_IP_NUM 7
+#define AMDGPU_HW_IP_VCN_ENC 7
+#define AMDGPU_HW_IP_NUM 8
#define AMDGPU_HW_IP_INSTANCE_MAX_COUNT 1