All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] drm/amdgpu: add HW_IP_VCN_UNIFIED type
@ 2022-07-15 20:04 Ruijing Dong
  2022-07-15 20:15 ` Liu, Leo
  2022-07-18  6:57 ` Christian König
  0 siblings, 2 replies; 8+ messages in thread
From: Ruijing Dong @ 2022-07-15 20:04 UTC (permalink / raw)
  To: Christian.Koenig, amd-gfx; +Cc: alexander.deucher, ruijing.dong, leo.liu

From VCN4, AMDGPU_HW_IP_VCN_UNIFIED is used to support
both encoding and decoding jobs, it re-uses the same
queue number of AMDGPU_HW_IP_VCN_ENC.

link: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/245/commits

Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
---
 include/uapi/drm/amdgpu_drm.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 18d3246d636e..e268cd3cdb12 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -560,6 +560,12 @@ struct drm_amdgpu_gem_va {
 #define AMDGPU_HW_IP_UVD_ENC      5
 #define AMDGPU_HW_IP_VCN_DEC      6
 #define AMDGPU_HW_IP_VCN_ENC      7
+/**
+ * From VCN4, AMDGPU_HW_IP_VCN_UNIFIED is used to support
+ * both encoding and decoding jobs, it re-uses the same
+ * queue number of AMDGPU_HW_IP_VCN_ENC.
+ */
+#define AMDGPU_HW_IP_VCN_UNIFIED  AMDGPU_HW_IP_VCN_ENC
 #define AMDGPU_HW_IP_VCN_JPEG     8
 #define AMDGPU_HW_IP_NUM          9
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-18 14:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-15 20:04 [PATCH v4] drm/amdgpu: add HW_IP_VCN_UNIFIED type Ruijing Dong
2022-07-15 20:15 ` Liu, Leo
2022-07-18  6:57 ` Christian König
2022-07-18 13:48   ` Leo Liu
2022-07-18 13:54     ` Christian König
2022-07-18 14:14       ` Dong, Ruijing
2022-07-18 14:37         ` Christian König
2022-07-18 14:44           ` Dong, Ruijing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.