summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoyuan Zhang <boyuan.zhang@amd.com>2018-05-01 14:47:31 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-06-15 12:20:39 -0500
commit81d350144bd4590ae546d83344421106e8faf69a (patch)
treee0154b1c6fde056b5e3c8a9d60a2b6a9ca9caec3
parent5b2329b61875e7118a599f2f1cf6d23c8ac75a69 (diff)
downloadlinux-stable-81d350144bd4590ae546d83344421106e8faf69a.tar.gz
linux-stable-81d350144bd4590ae546d83344421106e8faf69a.tar.bz2
linux-stable-81d350144bd4590ae546d83344421106e8faf69a.zip
uapi/drm: add AMDGPU_HW_IP_VCN_JPEG for jpeg CS
Add AMDGPU_HW_IP_VCN_JPEG define for jpeg CS Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-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 0dc9e606114e..784b0fe470ee 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -506,7 +506,8 @@ struct drm_amdgpu_gem_va {
#define AMDGPU_HW_IP_UVD_ENC 5
#define AMDGPU_HW_IP_VCN_DEC 6
#define AMDGPU_HW_IP_VCN_ENC 7
-#define AMDGPU_HW_IP_NUM 8
+#define AMDGPU_HW_IP_VCN_JPEG 8
+#define AMDGPU_HW_IP_NUM 9
#define AMDGPU_HW_IP_INSTANCE_MAX_COUNT 1