Update the capabilities for supporting 8k encoding/decoding.
Signed-off-by: Ruijing Dong
---
drivers/gpu/drm/amd/amdgpu/soc24.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc24.c
b/drivers/gpu/drm/amd/amdgpu/soc24.c
index
update VF_RB_SETUP_FLAG, add SMU_DPM_INTERFACE_FLAG,
and corresponding change in VCN4.
Signed-off-by: Ruijing Dong
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 8 +++-
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 4
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers
>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
Signed-off-by: Ruijing Dong
---
include/uapi/drm/amdgpu_drm.h | 4
1 file changed, 4 insertions(+)
d
>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
---
include/uapi/drm/amdgpu_drm.h
>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.
link: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/245/commits
Signed-off-by: Ruijing Dong
---
include/uapi/drm/amdgpu_drm.h | 7 +++
1 f
Define HW_IP_VCN_UNIFIED type the same as HW_IP_VCN_ENC.
VCN4 support for libdrm needs a new definition for
the unified queue, so that it can align to the kernel.
link: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/245/commits
Signed-off-by: Ruijing Dong
---
include/uapi/drm
define HW_IP_VCN_UNIFIED the same as HW_IP_VCN_ENC
Signed-off-by: Ruijing Dong
---
include/uapi/drm/amdgpu_drm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 18d3246d636e..fe33db8441bc 100644
--- a/include/uapi/drm
Declare 'static', as the function is not indended to be used
outside of this translation unit.
Fixes: 748483dbc215 ("drm/amdgpu/vcn: add unified queue ib test")
Reported-by: kernel test robot
Signed-off-by: Ruijing Dong
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +
Fixed some errors and warnings found by checkpatch.pl.
Signed-off-by: Ruijing Dong
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 12 ++--
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 8
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
- remove multiple queue support.
- add unified queue related functions.
Signed-off-by: Ruijing Dong
---
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 563 +++---
1 file changed, 140 insertions(+), 423 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
b/drivers/gpu
- add unified queue headers
- add unified queue ib tests.
Signed-off-by: Ruijing Dong
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 102 +++-
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 +
2 files changed, 100 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd
vcn fwlog is for debugging purpose only,
by default, it is disabled.
Signed-off-by: Ruijing Dong
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 10 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 ++
drivers/gpu/drm/amd/amdgpu
Add fw log in fw shared data structure.
Signed-off-by: Ruijing Dong
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 14 -
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 26 +++--
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 18 -
drivers/gpu/drm/amd/amdgpu
13 matches
Mail list logo