aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuijing Dong <ruijing.dong@amd.com>2022-07-14 17:13:37 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-07-18 16:42:39 -0400
commit4528c18605654bea022d294c9ba2e93600d05a94 (patch)
treedc59df2b5babcbdd31ac88ccdb7d27577aed67da
parentdrm/amd/pm: enable mode1 reset for smu_v13_0_7 (diff)
downloadlinux-dev-4528c18605654bea022d294c9ba2e93600d05a94.tar.xz
linux-dev-4528c18605654bea022d294c9ba2e93600d05a94.zip
drm/amdgpu: add comment to HW_IP_VCN_ENC type
From VCN4, AMDGPU_HW_IP_VCN_ENC is re-used to support both encoding and decoding jobs. Link: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/245/commits Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--include/uapi/drm/amdgpu_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 18d3246d636e..63de71f53110 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -559,6 +559,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