summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuijing Dong <ruijing.dong@amd.com>2022-07-18 11:36:14 -0400
committerLeo Liu <leo.liu@amd.com>2022-07-20 18:23:55 -0400
commit8be30428641ea759bfbf660cc97eb138ced873f9 (patch)
tree5a1a2bf519dffe7fdb4a94318e4c8489f715bcd2
parente83aaae15eb201782cade233912c481e0807f82e (diff)
downloadlibdrm-8be30428641ea759bfbf660cc97eb138ced873f9.tar.gz
libdrm-8be30428641ea759bfbf660cc97eb138ced873f9.tar.bz2
libdrm-8be30428641ea759bfbf660cc97eb138ced873f9.zip
tests/amdgpu/vcn: align comments for AMDGPU_HW_IP_VCN_ENC
From VCN4, AMDGPU_HW_IP_VCN_ENC is re-used to support both encoding and decoding jobs. Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
-rw-r--r--include/drm/amdgpu_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index 7f01f983..c0a0ad10 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -553,6 +553,10 @@ 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
+/*
+ * From VCN4, AMDGPU_HW_IP_VCN_ENC is re-used to support
+ * both encoding and decoding jobs.
+ */
#define AMDGPU_HW_IP_VCN_ENC 7
#define AMDGPU_HW_IP_VCN_JPEG 8
#define AMDGPU_HW_IP_NUM 9