tests/amdgpu/vcn: align comments for AMDGPU_HW_IP_VCN_ENC
authorRuijing Dong <ruijing.dong@amd.com>
Mon, 18 Jul 2022 15:36:14 +0000 (11:36 -0400)
committerLeo Liu <leo.liu@amd.com>
Wed, 20 Jul 2022 22:23:55 +0000 (18:23 -0400)
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>
include/drm/amdgpu_drm.h

index 7f01f98..c0a0ad1 100644 (file)
@@ -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