This adds support for VCN (Video Codec Next) media blocks v 4.x. The first patch is very large as it adds register headers and as such is too large for the mailing list. James Zhu (7): drm/amdgpu: move out asic specific definition from common header drm/amdgpu: add irq sources for vcn v4_0 drm/amdgpu/jpeg: add jpeg support for VCN4_0_0 drm/amdgpu/jpeg: enable JPEG PG and CG for VCN4_0_0 drm/amdgpu/vcn: enable vcn4 dpg mode drm/amdgpu: add vcn_4_0_0 video codec query drm/amdgpu/discovery: add VCN 4.0 Support Leo Liu (3): drm/amdgpu: add vcn 4_0_0 header files v7 drm/amdgpu: make software ring functions reuseable for newer VCN drm/amdgpu: add VCN4 ip block support Sonny Jiang (1): drm/amdgpu: enable VCN4 PG and CG for VCN4_0_0 drivers/gpu/drm/amd/amdgpu/Makefile | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 19 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 18 +- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 609 ++ drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.h | 29 + drivers/gpu/drm/amd/amdgpu/soc21.c | 53 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 3 + drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 3 + drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 26 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.h | 12 + drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 1877 ++++ drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h | 29 + .../include/asic_reg/vcn/vcn_4_0_0_offset.h | 1610 ++++ .../include/asic_reg/vcn/vcn_4_0_0_sh_mask.h | 8055 +++++++++++++++++ .../amd/include/ivsrcid/vcn/irqsrcs_vcn_4_0.h | 41 + 16 files changed, 12375 insertions(+), 19 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vcn_v4_0.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_4_0_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_4_0_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/ivsrcid/vcn/irqsrcs_vcn_4_0.h -- 2.35.1