[Mesa-dev] [PATCH v2 0/8] The 2nd version for UVD HEVC encode

Mark Thompson sw at jkqxz.net
Thu Feb 8 22:28:30 UTC 2018


On 06/02/18 20:05, James Zhu wrote:
> The whole series are the updated version. Changes are made mainly based 
> on the comments from prevous code review from Alex, Leo and Boyuan
> 
> James Zhu (8):
>   amd/common:add uvd hevc enc support check in hw query
>   winsys/amdgpu:add uvd hevc enc support in amdgpu cs
>   radeon/uvd:add uvd hevc enc hw interface header
>   radeon/uvd:add uvd hevc enc hw ib implementation
>   radeon/uvd:add uvd hevc enc functions
>   radeon/uvd:add uvd hevc enc files in Makefile list
>   radeonsi:create uvd hevc enc entry
>   radeonsi: enable uvd encode for HEVC main
> 
>  src/amd/common/ac_gpu_info.c                    |   10 +-
>  src/amd/common/ac_gpu_info.h                    |    1 +
>  src/gallium/drivers/radeon/Makefile.sources     |    3 +
>  src/gallium/drivers/radeon/radeon_uvd_enc.c     |  370 ++++++++
>  src/gallium/drivers/radeon/radeon_uvd_enc.h     |  471 ++++++++++
>  src/gallium/drivers/radeon/radeon_uvd_enc_1_1.c | 1115 +++++++++++++++++++++++
>  src/gallium/drivers/radeonsi/si_get.c           |    4 +-
>  src/gallium/drivers/radeonsi/si_uvd.c           |   15 +-
>  src/gallium/winsys/amdgpu/drm/amdgpu_cs.c       |    6 +
>  9 files changed, 1990 insertions(+), 5 deletions(-)
>  create mode 100644 src/gallium/drivers/radeon/radeon_uvd_enc.c
>  create mode 100644 src/gallium/drivers/radeon/radeon_uvd_enc.h
>  create mode 100644 src/gallium/drivers/radeon/radeon_uvd_enc_1_1.c
> 

Can you explain what the requirements are for using this (hardware, firmware, software)?

>From what I can find it should be on Polaris and Vega, but I haven't succeeded in getting it working on Polaris.

Thanks,

- Mark


More information about the mesa-dev mailing list