From 8be30428641ea759bfbf660cc97eb138ced873f9 Mon Sep 17 00:00:00 2001 From: Ruijing Dong Date: Mon, 18 Jul 2022 11:36:14 -0400 Subject: [PATCH] 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 Signed-off-by: Ruijing Dong --- include/drm/amdgpu_drm.h | 4 ++++ 1 file changed, 4 insertions(+) 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