* [PATCH v5] drm/amdgpu: add comment to HW_IP_VCN_ENC type
@ 2022-07-18 14:55 Ruijing Dong
2022-07-18 14:56 ` Christian König
0 siblings, 1 reply; 2+ messages in thread
From: Ruijing Dong @ 2022-07-18 14:55 UTC (permalink / raw)
To: Christian.Koenig, amd-gfx; +Cc: alexander.deucher, ruijing.dong, leo.liu
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: Leo Liu <leo.liu@amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
---
include/uapi/drm/amdgpu_drm.h | 4 ++++
1 file changed, 4 insertions(+)
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
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v5] drm/amdgpu: add comment to HW_IP_VCN_ENC type
2022-07-18 14:55 [PATCH v5] drm/amdgpu: add comment to HW_IP_VCN_ENC type Ruijing Dong
@ 2022-07-18 14:56 ` Christian König
0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2022-07-18 14:56 UTC (permalink / raw)
To: Ruijing Dong, amd-gfx; +Cc: alexander.deucher, leo.liu
Am 18.07.22 um 16:55 schrieb Ruijing Dong:
> 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: Leo Liu <leo.liu@amd.com>
> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
> ---
> include/uapi/drm/amdgpu_drm.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-18 14:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-18 14:55 [PATCH v5] drm/amdgpu: add comment to HW_IP_VCN_ENC type Ruijing Dong
2022-07-18 14:56 ` Christian König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox