Skip to contentSkip to conversation

drm/amdgpu: add comments to HW_IP_VCN_ENC

PATCH Superseded Ruijing Dong 2 participants 2 messages Jul 16, 2022

Subsystems (3)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 drm/amdgpu: add comments to HW_IP_VCN_ENC

From VCN4, HW_IP_VCN_ENC will be used as unified queue, and support both encoding and decoding jobs, HW_IP_VCN_DEC is retired from VCN4.

---
 include/uapi/drm/amdgpu_drm.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/uapi/drm/amdgpu_drm.h +7 -0
index 18d3246d636e..29e4a1ece2ce 100644
@@ -559,7 +559,14 @@ 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 will be used as unified queue
+ * and support both encoding and decoding jobs, AMDGPU_HW_IP_VCN_DEC
+ * is retired from VCN4.
+ */
 #define AMDGPU_HW_IP_VCN_ENC      7
+
 #define AMDGPU_HW_IP_VCN_JPEG     8
 #define AMDGPU_HW_IP_NUM          9
 
Signature · 1 line
2.25.1
Reviewed-by on v3 1/1
#1 lore raw

[AMD Official Use Only - General]

-----Original Message-----
From: Dong, Ruijing <[email protected]>
Sent: July 15, 2022 12:09 PM
To: Koenig, Christian <[email protected]>; [email protected]
Cc: Deucher, Alexander <[email protected]>; Liu, Leo <[email protected]>; Dong, Ruijing <[email protected]>
Subject: [PATCH v3] drm/amdgpu: add comments to HW_IP_VCN_ENC

From VCN4, HW_IP_VCN_ENC will be used as unified queue, and support both encoding and decoding jobs, HW_IP_VCN_DEC is retired from VCN4.

---
 include/uapi/drm/amdgpu_drm.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/uapi/drm/amdgpu_drm.h +7 -0
@@ -559,7 +559,14 @@ 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 will be used as unified queue
+ * and support both encoding and decoding jobs, AMDGPU_HW_IP_VCN_DEC
+ * is retired from VCN4.
+ */
 #define AMDGPU_HW_IP_VCN_ENC      7
+
 #define AMDGPU_HW_IP_VCN_JPEG     8
 #define AMDGPU_HW_IP_NUM          9
 

--
2.25.1