summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2017-02-15 10:24:55 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-05-24 17:41:35 -0400
commitfcfc5a90628f69c08018c8ec7b3d6dca5a8a2203 (patch)
tree6b398b328475e798c90187f4012dcedce0ad11b6 /include/uapi
parent66e236f180f0ab6b9b9efd9e7fdbfd9de98e333d (diff)
downloadop-kernel-dev-fcfc5a90628f69c08018c8ec7b3d6dca5a8a2203.zip
op-kernel-dev-fcfc5a90628f69c08018c8ec7b3d6dca5a8a2203.tar.gz
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 6ad29c9..0c0c4a4 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
OpenPOWER on IntegriCloud