This patch set adds initial support for vangoh, a new GPU from AMD. I did not send out the register header change due to size. The full patch set is available in git here: https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next-vangogh Alex Deucher (3): drm/amdgpu/gfx10: add updated register offsets for VGH drm/amdgpu: IP discovery table is not ready yet for VG drm/amdgpu/mmhub2.3: print client id string for mmhub Huang Rui (32): drm/amdgpu: add vangogh asic header files (v2) drm/amdgpu: add van gogh asic_type enum (v2) drm/amdgpu: add uapi to define van gogh series drm/amdgpu: add van gogh support for gpu_info and ip block setting drm/amdgpu: add vangogh_reg_base_init function for van gogh drm/amdgpu: add nv common ip block support for van gogh drm/amdgpu: skip sdma1 in nv_allowed_read_registers list for van gogh (v2) drm/amdgpu: add van gogh support for ih block drm/amdgpu: use gpu virtual address for interrupt packet write space for vangogh drm/amdgpu: add uapi to define van gogh memory type drm/amdgpu: update new memory types in atomfirmware header drm/amdgpu: get the correct vram type for van gogh drm/amdgpu: add gmc v10 supports for van gogh (v3) drm/amdgpu: set fw load type for van gogh drm/amdgpu: add gfx support for van gogh (v2) drm/amdgpu: add gfx golden settings for vangogh (v3) drm/amdgpu: add sdma support for van gogh drm/amdgpu: set ip blocks for van gogh drm/amdkfd: add Van Gogh KFD support drm/amdgpu: add mmhub v2.3 for vangogh (v4) drm/amdgpu: add pcie port indirect read and write on nv drm/amdgpu: add nbio v7.2 for vangogh (v2) drm/amd/powerplay: partially enable swsmu for vangogh drm/amd/powerplay: add vangogh ppt into swSMU drm/amdgpu: add smu ip block for vangogh drm/amdgpu: add TOC firmware definition drm/amdgpu: add TOC firmware support for apu (v2) drm/amdgpu: enable psp support for vangogh drm/amdgpu: disable gfxoff on vangogh for the moment (v2) drm/amdgpu: add gfx power gating for gfx10 drm/amdgpu: enable gfx clock gating and power gating for vangogh drm/amdgpu: add van gogh pci id Roman Li (3): drm/amdgpu/atomfirmware: Add edp and integrated info v2.1 tables drm/amd/display: Add dcn3.01 support to DC drm/amd/display: Add dcn3.01 support to DM Thong Thai (1): drm/amdgpu: enable vcn3.0 for van gogh Xiaojian Du (6): drm/amdgpu/powerplay: add new smu messages and feature masks for vangogh (v2) drm/admgpu/powerplay: add smu v11.5 driver interface header for vangogh drm/amdgpu/powerplay: add smu v11.5 firmware header for vangogh (v2) drm/amdgpu/powerplay: add smu v11.5 smc header for vangogh drm/amdgpu/powerplay: add vangogh asic name in smu v11 (v2) drm/amdgpu/powerplay: add smu initialize funcitons for vangogh (v2) drivers/gpu/drm/amd/amdgpu/Makefile | 5 +- .../gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 11 + drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 37 + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 7 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 8 + drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 109 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 43 +- drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 589 + drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.h | 28 + drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 6 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_2.c | 341 + drivers/gpu/drm/amd/amdgpu/nbio_v7_2.h | 32 + drivers/gpu/drm/amd/amdgpu/nv.c | 74 +- drivers/gpu/drm/amd/amdgpu/nv.h | 1 + drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 38 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 10 + drivers/gpu/drm/amd/amdgpu/vangogh_reg_init.c | 51 + drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 5 + drivers/gpu/drm/amd/amdkfd/kfd_device.c | 20 + .../drm/amd/amdkfd/kfd_device_queue_manager.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 1 + .../gpu/drm/amd/amdkfd/kfd_packet_manager.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 1 + drivers/gpu/drm/amd/display/Kconfig | 9 + .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 26 + drivers/gpu/drm/amd/display/dc/Makefile | 4 + .../drm/amd/display/dc/bios/bios_parser2.c | 187 + .../display/dc/bios/command_table_helper2.c | 6 +- .../gpu/drm/amd/display/dc/clk_mgr/Makefile | 10 + .../gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c | 21 +- .../display/dc/clk_mgr/dcn301/dcn301_smu.c | 241 + .../display/dc/clk_mgr/dcn301/dcn301_smu.h | 164 + .../display/dc/clk_mgr/dcn301/vg_clk_mgr.c | 834 + .../display/dc/clk_mgr/dcn301/vg_clk_mgr.h | 43 + .../gpu/drm/amd/display/dc/core/dc_resource.c | 14 + drivers/gpu/drm/amd/display/dc/dce/dce_abm.h | 18 +- .../drm/amd/display/dc/dce/dce_clock_source.c | 18 + .../drm/amd/display/dc/dce/dce_clock_source.h | 29 + .../gpu/drm/amd/display/dc/dce/dce_hwseq.h | 191 +- .../amd/display/dc/dcn10/dcn10_link_encoder.h | 18 + .../drm/amd/display/dc/dcn30/dcn30_hubbub.c | 11 + .../drm/amd/display/dc/dcn30/dcn30_hubbub.h | 3 + .../gpu/drm/amd/display/dc/dcn30/dcn30_hubp.h | 5 + .../drm/amd/display/dc/dcn30/dcn30_resource.c | 2 +- .../drm/amd/display/dc/dcn30/dcn30_resource.h | 5 + .../gpu/drm/amd/display/dc/dcn301/Makefile | 47 + .../drm/amd/display/dc/dcn301/dcn301_dccg.c | 75 + .../drm/amd/display/dc/dcn301/dcn301_dccg.h | 65 + .../dc/dcn301/dcn301_dio_link_encoder.c | 192 + .../dc/dcn301/dcn301_dio_link_encoder.h | 82 + .../drm/amd/display/dc/dcn301/dcn301_hubbub.c | 81 + .../drm/amd/display/dc/dcn301/dcn301_hubbub.h | 60 + .../drm/amd/display/dc/dcn301/dcn301_hwseq.c | 42 + .../drm/amd/display/dc/dcn301/dcn301_hwseq.h | 32 + .../drm/amd/display/dc/dcn301/dcn301_init.c | 145 + .../drm/amd/display/dc/dcn301/dcn301_init.h | 33 + .../amd/display/dc/dcn301/dcn301_panel_cntl.c | 218 + .../amd/display/dc/dcn301/dcn301_panel_cntl.h | 97 + .../amd/display/dc/dcn301/dcn301_resource.c | 2011 + .../amd/display/dc/dcn301/dcn301_resource.h | 42 + drivers/gpu/drm/amd/display/dc/dm_pp_smu.h | 26 +- .../gpu/drm/amd/display/dc/gpio/hw_factory.c | 3 + .../drm/amd/display/dc/gpio/hw_translate.c | 3 + .../gpu/drm/amd/display/dc/inc/hw/clk_mgr.h | 33 + .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 4 + drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 5 + drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 3 + drivers/gpu/drm/amd/display/dmub/src/Makefile | 2 +- .../drm/amd/display/dmub/src/dmub_dcn301.c | 55 + .../drm/amd/display/dmub/src/dmub_dcn301.h | 37 + .../gpu/drm/amd/display/dmub/src/dmub_srv.c | 14 + .../gpu/drm/amd/display/include/dal_asic_id.h | 10 + .../gpu/drm/amd/display/include/dal_types.h | 5 + .../display/include/grph_object_ctrl_defs.h | 17 + .../include/asic_reg/clk/clk_11_5_0_offset.h | 50 + .../include/asic_reg/clk/clk_11_5_0_sh_mask.h | 70 + .../include/asic_reg/dcn/dcn_3_0_1_offset.h | 13271 ++ .../include/asic_reg/dcn/dcn_3_0_1_sh_mask.h | 53357 +++++ .../asic_reg/mmhub/mmhub_2_3_0_default.h | 1253 + .../asic_reg/mmhub/mmhub_2_3_0_offset.h | 2439 + .../asic_reg/mmhub/mmhub_2_3_0_sh_mask.h | 10331 + .../include/asic_reg/mp/mp_11_5_0_offset.h | 400 + .../include/asic_reg/mp/mp_11_5_0_sh_mask.h | 942 + .../include/asic_reg/nbio/nbio_7_2_0_offset.h | 31873 +++ .../asic_reg/nbio/nbio_7_2_0_sh_mask.h | 152495 +++++++++++++++ drivers/gpu/drm/amd/include/atomfirmware.h | 67 +- .../gpu/drm/amd/include/vangogh_ip_offset.h | 1516 + .../drm/amd/pm/inc/smu11_driver_if_vangogh.h | 239 + drivers/gpu/drm/amd/pm/inc/smu_types.h | 53 +- drivers/gpu/drm/amd/pm/inc/smu_v11_0.h | 1 + drivers/gpu/drm/amd/pm/inc/smu_v11_5_pmfw.h | 120 + drivers/gpu/drm/amd/pm/inc/smu_v11_5_ppsmc.h | 86 + drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 10 + drivers/gpu/drm/amd/pm/swsmu/smu11/Makefile | 1 + .../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 3 + .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 355 + .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h | 30 + include/drm/amd_asic_type.h | 1 + include/uapi/drm/amdgpu_drm.h | 4 + 105 files changed, 275638 insertions(+), 68 deletions(-) mode change 100644 => 100755 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c create mode 100644 drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.h create mode 100644 drivers/gpu/drm/amd/amdgpu/nbio_v7_2.c create mode 100644 drivers/gpu/drm/amd/amdgpu/nbio_v7_2.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vangogh_reg_init.c create mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/dcn301_smu.c create mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/dcn301_smu.h create mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c create mode 100644 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.h create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/Makefile create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dio_link_encoder.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dio_link_encoder.h create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_hubbub.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_hubbub.h create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_hwseq.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_hwseq.h create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_init.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_init.h create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_panel_cntl.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_panel_cntl.h create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.h create mode 100644 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn301.c create mode 100644 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn301.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/clk/clk_11_5_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/clk/clk_11_5_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_1_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_2_3_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_2_3_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mmhub/mmhub_2_3_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_11_5_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/mp/mp_11_5_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_7_2_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_7_2_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/vangogh_ip_offset.h create mode 100644 drivers/gpu/drm/amd/pm/inc/smu11_driver_if_vangogh.h create mode 100644 drivers/gpu/drm/amd/pm/inc/smu_v11_5_pmfw.h create mode 100644 drivers/gpu/drm/amd/pm/inc/smu_v11_5_ppsmc.h create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c create mode 100644 drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h -- 2.25.4 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx