This adds support for VCN (Video Codec Next) 4.0.5. This is the video encode/decode and JPEG engine on the GPU. The register header patch was too large for the mailing list. Saleemkhan Jamadar (9): drm/amdgpu: add vcn 4_0_5 header files drm/amdgpu: add VCN4 ip block support drm/amdgpu/jpeg: add jpeg support for VCN4_0_5 drm/amdgpu: add VCN_4_0_5 firmware support drm/amdgpu:enable CG and PG flags for VCN drm/amdgpu/soc21: Add video cap query support for VCN_4_0_5 drm/amdgpu/discovery: add VCN 4.0.5 Support drm/amdgpu:update kernel vcn ring test drm/amdgpu: enable PG flags for VCN drivers/gpu/drm/amd/amdgpu/Makefile | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 32 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 3 + drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 621 ++ drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.h | 35 + drivers/gpu/drm/amd/amdgpu/soc21.c | 9 +- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 1779 ++++ drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.h | 35 + .../include/asic_reg/vcn/vcn_4_0_5_offset.h | 1797 ++++ .../include/asic_reg/vcn/vcn_4_0_5_sh_mask.h | 8614 +++++++++++++++++ 11 files changed, 12929 insertions(+), 6 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c create mode 100644 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_4_0_5_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_4_0_5_sh_mask.h -- 2.41.0