This patch set adds support for vega10. Major changes and supported features: - new vbios interface - Lots of new hw IPs - Support for video decode using UVD - Support for video encode using VCE - Support for 3D via radeonsi - Power management - Full display support via DC - Support for SR-IOV I did not send out the register headers since they are huge. You can find them along with all the other patches in this series here: https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-4.9 Please review. Thanks, Alex Alex Deucher (29): drm/amdgpu: add the new atomfirmware interface header amdgpu: detect if we are using atomfirm or atombios for vbios (v2) drm/amdgpu: move atom scratch setup into amdgpu_atombios.c drm/amdgpu: add basic support for atomfirmware.h (v3) drm/amdgpu: add soc15ip.h drm/amdgpu: add vega10_enum.h drm/amdgpu: Add ATHUB 1.0 register headers drm/amdgpu: Add the DCE 12.0 register headers drm/amdgpu: add the GC 9.0 register headers drm/amdgpu: add the HDP 4.0 register headers drm/amdgpu: add the MMHUB 1.0 register headers drm/amdgpu: add MP 9.0 register headers drm/amdgpu: add NBIF 6.1 register headers drm/amdgpu: add NBIO 6.1 register headers drm/amdgpu: add OSSSYS 4.0 register headers drm/amdgpu: add SDMA 4.0 register headers drm/amdgpu: add SMUIO 9.0 register headers drm/amdgpu: add THM 9.0 register headers drm/amdgpu: add the UVD 7.0 register headers drm/amdgpu: add the VCE 4.0 register headers drm/amdgpu: add gfx9 clearstate header drm/amdgpu: add SDMA 4.0 packet header drm/amdgpu: use atomfirmware interfaces for scratch reg save/restore drm/amdgpu: update IH IV ring entry for soc-15 drm/amdgpu: add PTE defines for MTYPE drm/amdgpu: add NGG parameters drm/amdgpu: Add asic family for vega10 drm/amdgpu: add tiling flags for GFX9 drm/amdgpu: gart fixes for vega10 Alex Xie (4): drm/amdgpu: Add MTYPE flags to GPU VM IOCTL interface drm/amdgpu: handle PTE EXEC in amdgpu_vm_bo_split_mapping drm/amdgpu: handle PTE MTYPE in amdgpu_vm_bo_split_mapping drm/amdgpu: Add GMC 9.0 support Andrey Grodzovsky (1): drm/amdgpu: gb_addr_config struct Charlene Liu (1): drm/amd/display: need to handle DCE_Info table ver4.2 Christian König (1): drm/amdgpu: add IV trace point Eric Huang (7): drm/amd/powerplay: add smu9 header files for Vega10 drm/amd/powerplay: add new Vega10's ppsmc header file drm/amdgpu: add new atomfirmware based helpers for powerplay drm/amd/powerplay: add some new structures for Vega10 drm/amd: add structures for display/powerplay interface drm/amd/powerplay: add some display/powerplay interfaces drm/amd/powerplay: add Vega10 powerplay support Felix Kuehling (1): drm/amd: Add MQD structs for GFX V9 Harry Wentland (6): drm/amd/display: Add DCE12 bios parser support drm/amd/display: Add DCE12 gpio support drm/amd/display: Add DCE12 i2c/aux support drm/amd/display: Add DCE12 irq support drm/amd/display: Add DCE12 core support drm/amd/display: Enable DCE12 support Huang Rui (6): drm/amdgpu: use new flag to handle different firmware loading method drm/amdgpu: rework common ucode handling for vega10 drm/amdgpu: add psp firmware header info drm/amdgpu: add PSP driver for vega10 drm/amdgpu: add psp firmware info into info query and debugfs drm/amdgpu: add SMC firmware into global ucode list for psp loading Jordan Lazare (1): drm/amd/display: Less log spam Junwei Zhang (2): drm/amdgpu: add NBIO 6.1 driver drm/amdgpu: add Vega10 Device IDs Ken Wang (8): drm/amdgpu: add common soc15 headers drm/amdgpu: add vega10 chip name drm/amdgpu: add 64bit doorbell assignments drm/amdgpu: add SDMA v4.0 implementation drm/amdgpu: implement GFX 9.0 support drm/amdgpu: add vega10 interrupt handler drm/amdgpu: soc15 enable (v2) drm/amdgpu: Set the IP blocks for vega10 Leo Liu (2): drm/amdgpu: add initial uvd 7.0 support for vega10 drm/amdgpu: add initial vce 4.0 support for vega10 Marek Olšák (1): drm/amdgpu: don't validate TILE_SPLIT on GFX9 Monk Liu (5): drm/amdgpu/gfx9: programing wptr_poll_addr register drm/amdgpu:impl gfx9 cond_exec drm/amdgpu:bypass RLC init for SRIOV drm/amdgpu/sdma4:re-org SDMA initial steps for sriov drm/amdgpu/vega10:fix DOORBELL64 scheme Rex Zhu (2): drm/amdgpu: get display info from DC when DC enabled. drm/amd/powerplay: add global PowerPlay mutex. Xiangliang Yu (22): drm/amdgpu: impl sriov detection for vega10 drm/amdgpu: add kiq ring for gfx9 drm/amdgpu/gfx9: fullfill kiq funcs drm/amdgpu/gfx9: fullfill kiq irq funcs drm/amdgpu: init kiq and kcq for vega10 drm/amdgpu/gfx9: impl gfx9 meta data emit drm/amdgpu/soc15: bypass PSP for VF drm/amdgpu/gmc9: no need use kiq in vega10 tlb flush drm/amdgpu/dce_virtual: bypass DPM for vf drm/amdgpu/virt: impl mailbox for ai drm/amdgpu/soc15: init virt ops for vf drm/amdgpu/soc15: enable virtual dce for vf drm/amdgpu: Don't touch PG&CG for SRIOV MM drm/amdgpu/vce4: enable doorbell for SRIOV drm/amdgpu: disable uvd for sriov drm/amdgpu/soc15: bypass pp block for vf drm/amdgpu/virt: add structure for MM table drm/amdgpu/vce4: alloc mm table for MM sriov drm/amdgpu/vce4: Ignore vce ring/ib test temporarily drm/amdgpu: add mmsch structures drm/amdgpu/vce4: impl vce & mmsch sriov start drm/amdgpu/gfx9: correct wptr pointer value ken (1): drm/amdgpu: add clinetid definition for vega10 drivers/gpu/drm/amd/amdgpu/Makefile | 27 +- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 172 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 28 + drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 112 + drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 33 + drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 30 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 73 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 73 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 36 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 47 +- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 32 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 473 + drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 127 + drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 37 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 113 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 17 + drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 58 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 21 + drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 7 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 34 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 4 + drivers/gpu/drm/amd/amdgpu/atom.c | 26 - drivers/gpu/drm/amd/amdgpu/atom.h | 1 - drivers/gpu/drm/amd/amdgpu/cik.c | 2 + drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h | 941 + drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 3 + drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4075 + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.h | 35 + drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 447 + drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h | 35 + drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 826 + drivers/gpu/drm/amd/amdgpu/gmc_v9_0.h | 30 + drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 585 + drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h | 35 + drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h | 87 + drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 207 + drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h | 47 + drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c | 251 + drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h | 53 + drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h | 269 + drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 507 + drivers/gpu/drm/amd/amdgpu/psp_v3_1.h | 50 + drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 4 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 1573 + drivers/gpu/drm/amd/amdgpu/sdma_v4_0.h | 30 + drivers/gpu/drm/amd/amdgpu/soc15.c | 825 + drivers/gpu/drm/amd/amdgpu/soc15.h | 35 + drivers/gpu/drm/amd/amdgpu/soc15_common.h | 57 + drivers/gpu/drm/amd/amdgpu/soc15d.h | 287 + drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 1543 + drivers/gpu/drm/amd/amdgpu/uvd_v7_0.h | 29 + drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 1141 + drivers/gpu/drm/amd/amdgpu/vce_v4_0.h | 29 + drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 424 + drivers/gpu/drm/amd/amdgpu/vega10_ih.h | 30 + drivers/gpu/drm/amd/amdgpu/vega10_sdma_pkt_open.h | 3335 + drivers/gpu/drm/amd/amdgpu/vi.c | 4 +- drivers/gpu/drm/amd/display/Kconfig | 7 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 145 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 10 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c | 20 +- drivers/gpu/drm/amd/display/dc/Makefile | 4 + drivers/gpu/drm/amd/display/dc/bios/Makefile | 8 + drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 2162 + drivers/gpu/drm/amd/display/dc/bios/bios_parser2.h | 33 + .../amd/display/dc/bios/bios_parser_interface.c | 14 + .../display/dc/bios/bios_parser_types_internal2.h | 74 + .../gpu/drm/amd/display/dc/bios/command_table2.c | 813 + .../gpu/drm/amd/display/dc/bios/command_table2.h | 105 + .../amd/display/dc/bios/command_table_helper2.c | 260 + .../amd/display/dc/bios/command_table_helper2.h | 82 + .../dc/bios/dce112/command_table_helper2_dce112.c | 418 + .../dc/bios/dce112/command_table_helper2_dce112.h | 34 + drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c | 117 + drivers/gpu/drm/amd/display/dc/core/dc.c | 29 + drivers/gpu/drm/amd/display/dc/core/dc_debug.c | 11 + drivers/gpu/drm/amd/display/dc/core/dc_link.c | 19 + drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 14 + drivers/gpu/drm/amd/display/dc/dc.h | 27 + drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 46 + .../gpu/drm/amd/display/dc/dce/dce_clock_source.c | 6 + drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 149 + drivers/gpu/drm/amd/display/dc/dce/dce_clocks.h | 20 + drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h | 8 + .../gpu/drm/amd/display/dc/dce/dce_link_encoder.h | 14 + drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c | 35 + drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.h | 34 + drivers/gpu/drm/amd/display/dc/dce/dce_opp.h | 72 + .../drm/amd/display/dc/dce/dce_stream_encoder.h | 100 + drivers/gpu/drm/amd/display/dc/dce/dce_transform.h | 68 + .../amd/display/dc/dce110/dce110_hw_sequencer.c | 53 +- .../drm/amd/display/dc/dce110/dce110_mem_input.c | 3 + .../display/dc/dce110/dce110_timing_generator.h | 3 + drivers/gpu/drm/amd/display/dc/dce120/Makefile | 12 + .../amd/display/dc/dce120/dce120_hw_sequencer.c | 197 + .../amd/display/dc/dce120/dce120_hw_sequencer.h | 36 + drivers/gpu/drm/amd/display/dc/dce120/dce120_ipp.c | 58 + drivers/gpu/drm/amd/display/dc/dce120/dce120_ipp.h | 62 + .../drm/amd/display/dc/dce120/dce120_ipp_cursor.c | 202 + .../drm/amd/display/dc/dce120/dce120_ipp_gamma.c | 167 + .../drm/amd/display/dc/dce120/dce120_mem_input.c | 340 + .../drm/amd/display/dc/dce120/dce120_mem_input.h | 37 + .../drm/amd/display/dc/dce120/dce120_resource.c | 1099 + .../drm/amd/display/dc/dce120/dce120_resource.h | 39 + .../display/dc/dce120/dce120_timing_generator.c | 1109 + .../display/dc/dce120/dce120_timing_generator.h | 41 + .../gpu/drm/amd/display/dc/dce80/dce80_mem_input.c | 3 + drivers/gpu/drm/amd/display/dc/dm_services.h | 89 + drivers/gpu/drm/amd/display/dc/dm_services_types.h | 27 + drivers/gpu/drm/amd/display/dc/gpio/Makefile | 11 + .../amd/display/dc/gpio/dce120/hw_factory_dce120.c | 197 + .../amd/display/dc/gpio/dce120/hw_factory_dce120.h | 32 + .../display/dc/gpio/dce120/hw_translate_dce120.c | 408 + .../display/dc/gpio/dce120/hw_translate_dce120.h | 34 + drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c | 9 + drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c | 9 +- drivers/gpu/drm/amd/display/dc/i2caux/Makefile | 11 + .../amd/display/dc/i2caux/dce120/i2caux_dce120.c | 125 + .../amd/display/dc/i2caux/dce120/i2caux_dce120.h | 32 + drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c | 8 + .../gpu/drm/amd/display/dc/inc/bandwidth_calcs.h | 3 + .../gpu/drm/amd/display/dc/inc/hw/display_clock.h | 23 + drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h | 4 + drivers/gpu/drm/amd/display/dc/irq/Makefile | 12 + .../amd/display/dc/irq/dce120/irq_service_dce120.c | 293 + .../amd/display/dc/irq/dce120/irq_service_dce120.h | 34 + drivers/gpu/drm/amd/display/dc/irq/irq_service.c | 3 + drivers/gpu/drm/amd/display/include/dal_asic_id.h | 4 + drivers/gpu/drm/amd/display/include/dal_types.h | 3 + drivers/gpu/drm/amd/include/amd_shared.h | 4 + .../asic_reg/vega10/ATHUB/athub_1_0_default.h | 241 + .../asic_reg/vega10/ATHUB/athub_1_0_offset.h | 453 + .../asic_reg/vega10/ATHUB/athub_1_0_sh_mask.h | 2045 + .../include/asic_reg/vega10/DC/dce_12_0_default.h | 9868 ++ .../include/asic_reg/vega10/DC/dce_12_0_offset.h | 18193 +++ .../include/asic_reg/vega10/DC/dce_12_0_sh_mask.h | 64636 +++++++++ .../include/asic_reg/vega10/GC/gc_9_0_default.h | 3873 + .../amd/include/asic_reg/vega10/GC/gc_9_0_offset.h | 7230 + .../include/asic_reg/vega10/GC/gc_9_0_sh_mask.h | 29868 ++++ .../include/asic_reg/vega10/HDP/hdp_4_0_default.h | 117 + .../include/asic_reg/vega10/HDP/hdp_4_0_offset.h | 209 + .../include/asic_reg/vega10/HDP/hdp_4_0_sh_mask.h | 601 + .../asic_reg/vega10/MMHUB/mmhub_1_0_default.h | 1011 + .../asic_reg/vega10/MMHUB/mmhub_1_0_offset.h | 1967 + .../asic_reg/vega10/MMHUB/mmhub_1_0_sh_mask.h | 10127 ++ .../include/asic_reg/vega10/MP/mp_9_0_default.h | 342 + .../amd/include/asic_reg/vega10/MP/mp_9_0_offset.h | 375 + .../include/asic_reg/vega10/MP/mp_9_0_sh_mask.h | 1463 + .../asic_reg/vega10/NBIF/nbif_6_1_default.h | 1271 + .../include/asic_reg/vega10/NBIF/nbif_6_1_offset.h | 1688 + .../asic_reg/vega10/NBIF/nbif_6_1_sh_mask.h | 10281 ++ .../asic_reg/vega10/NBIO/nbio_6_1_default.h | 22340 +++ .../include/asic_reg/vega10/NBIO/nbio_6_1_offset.h | 3649 + .../asic_reg/vega10/NBIO/nbio_6_1_sh_mask.h | 133884 ++++++++++++++++++ .../asic_reg/vega10/OSSSYS/osssys_4_0_default.h | 176 + .../asic_reg/vega10/OSSSYS/osssys_4_0_offset.h | 327 + .../asic_reg/vega10/OSSSYS/osssys_4_0_sh_mask.h | 1196 + .../asic_reg/vega10/SDMA0/sdma0_4_0_default.h | 286 + .../asic_reg/vega10/SDMA0/sdma0_4_0_offset.h | 547 + .../asic_reg/vega10/SDMA0/sdma0_4_0_sh_mask.h | 1852 + .../asic_reg/vega10/SDMA1/sdma1_4_0_default.h | 282 + .../asic_reg/vega10/SDMA1/sdma1_4_0_offset.h | 539 + .../asic_reg/vega10/SDMA1/sdma1_4_0_sh_mask.h | 1810 + .../asic_reg/vega10/SMUIO/smuio_9_0_default.h | 100 + .../asic_reg/vega10/SMUIO/smuio_9_0_offset.h | 175 + .../asic_reg/vega10/SMUIO/smuio_9_0_sh_mask.h | 258 + .../include/asic_reg/vega10/THM/thm_9_0_default.h | 194 + .../include/asic_reg/vega10/THM/thm_9_0_offset.h | 363 + .../include/asic_reg/vega10/THM/thm_9_0_sh_mask.h | 1314 + .../include/asic_reg/vega10/UVD/uvd_7_0_default.h | 127 + .../include/asic_reg/vega10/UVD/uvd_7_0_offset.h | 222 + .../include/asic_reg/vega10/UVD/uvd_7_0_sh_mask.h | 811 + .../include/asic_reg/vega10/VCE/vce_4_0_default.h | 122 + .../include/asic_reg/vega10/VCE/vce_4_0_offset.h | 208 + .../include/asic_reg/vega10/VCE/vce_4_0_sh_mask.h | 488 + .../gpu/drm/amd/include/asic_reg/vega10/soc15ip.h | 1343 + .../drm/amd/include/asic_reg/vega10/vega10_enum.h | 22531 +++ drivers/gpu/drm/amd/include/atomfirmware.h | 2385 + drivers/gpu/drm/amd/include/atomfirmwareid.h | 86 + drivers/gpu/drm/amd/include/displayobject.h | 249 + drivers/gpu/drm/amd/include/dm_pp_interface.h | 83 + drivers/gpu/drm/amd/include/v9_structs.h | 743 + drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 284 +- drivers/gpu/drm/amd/powerplay/hwmgr/Makefile | 6 +- .../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c | 49 + drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 9 + drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr_ppt.h | 16 +- drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c | 396 + drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h | 140 + drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 4378 + drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h | 434 + drivers/gpu/drm/amd/powerplay/hwmgr/vega10_inc.h | 44 + .../gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c | 137 + .../gpu/drm/amd/powerplay/hwmgr/vega10_powertune.h | 65 + .../gpu/drm/amd/powerplay/hwmgr/vega10_pptable.h | 331 + .../amd/powerplay/hwmgr/vega10_processpptables.c | 1056 + .../amd/powerplay/hwmgr/vega10_processpptables.h | 34 + .../gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 761 + .../gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h | 83 + drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h | 28 +- .../gpu/drm/amd/powerplay/inc/hardwaremanager.h | 43 + drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 125 +- drivers/gpu/drm/amd/powerplay/inc/pp_instance.h | 1 + drivers/gpu/drm/amd/powerplay/inc/pp_soc15.h | 48 + drivers/gpu/drm/amd/powerplay/inc/smu9.h | 147 + drivers/gpu/drm/amd/powerplay/inc/smu9_driver_if.h | 418 + drivers/gpu/drm/amd/powerplay/inc/smumgr.h | 3 + drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h | 131 + drivers/gpu/drm/amd/powerplay/smumgr/Makefile | 2 +- drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | 9 + .../gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c | 564 + .../gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h | 70 + include/uapi/drm/amdgpu_drm.h | 29 + 221 files changed, 403408 insertions(+), 219 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h create mode 100644 drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c create mode 100644 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h create mode 100644 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c create mode 100644 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h create mode 100644 drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h create mode 100644 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c create mode 100644 drivers/gpu/drm/amd/amdgpu/psp_v3_1.h create mode 100644 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/soc15.c create mode 100644 drivers/gpu/drm/amd/amdgpu/soc15.h create mode 100644 drivers/gpu/drm/amd/amdgpu/soc15_common.h create mode 100644 drivers/gpu/drm/amd/amdgpu/soc15d.h create mode 100644 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vce_v4_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vega10_ih.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vega10_ih.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vega10_sdma_pkt_open.h create mode 100644 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c create mode 100644 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.h create mode 100644 drivers/gpu/drm/amd/display/dc/bios/bios_parser_types_internal2.h create mode 100644 drivers/gpu/drm/amd/display/dc/bios/command_table2.c create mode 100644 drivers/gpu/drm/amd/display/dc/bios/command_table2.h create mode 100644 drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c create mode 100644 drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.h create mode 100644 drivers/gpu/drm/amd/display/dc/bios/dce112/command_table_helper2_dce112.c create mode 100644 drivers/gpu/drm/amd/display/dc/bios/dce112/command_table_helper2_dce112.h create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/Makefile create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_hw_sequencer.c create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_hw_sequencer.h create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_ipp.c create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_ipp.h create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_ipp_cursor.c create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_ipp_gamma.c create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_mem_input.c create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_mem_input.h create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.h create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c create mode 100644 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.h create mode 100644 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c create mode 100644 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.h create mode 100644 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_translate_dce120.c create mode 100644 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_translate_dce120.h create mode 100644 drivers/gpu/drm/amd/display/dc/i2caux/dce120/i2caux_dce120.c create mode 100644 drivers/gpu/drm/amd/display/dc/i2caux/dce120/i2caux_dce120.h create mode 100644 drivers/gpu/drm/amd/display/dc/irq/dce120/irq_service_dce120.c create mode 100644 drivers/gpu/drm/amd/display/dc/irq/dce120/irq_service_dce120.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/ATHUB/athub_1_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/ATHUB/athub_1_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/ATHUB/athub_1_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/DC/dce_12_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/DC/dce_12_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/DC/dce_12_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/GC/gc_9_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/GC/gc_9_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/GC/gc_9_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/HDP/hdp_4_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/HDP/hdp_4_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/HDP/hdp_4_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/MMHUB/mmhub_1_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/MMHUB/mmhub_1_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/MMHUB/mmhub_1_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/NBIF/nbif_6_1_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/NBIF/nbif_6_1_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/NBIF/nbif_6_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/NBIO/nbio_6_1_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/NBIO/nbio_6_1_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/NBIO/nbio_6_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/OSSSYS/osssys_4_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/OSSSYS/osssys_4_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/OSSSYS/osssys_4_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SDMA0/sdma0_4_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SDMA0/sdma0_4_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SDMA0/sdma0_4_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SDMA1/sdma1_4_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SDMA1/sdma1_4_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SDMA1/sdma1_4_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SMUIO/smuio_9_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SMUIO/smuio_9_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/SMUIO/smuio_9_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/THM/thm_9_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/THM/thm_9_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/THM/thm_9_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/UVD/uvd_7_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/UVD/uvd_7_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/UVD/uvd_7_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_default.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/VCE/vce_4_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/soc15ip.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/vega10_enum.h create mode 100644 drivers/gpu/drm/amd/include/atomfirmware.h create mode 100644 drivers/gpu/drm/amd/include/atomfirmwareid.h create mode 100644 drivers/gpu/drm/amd/include/displayobject.h create mode 100644 drivers/gpu/drm/amd/include/dm_pp_interface.h create mode 100644 drivers/gpu/drm/amd/include/v9_structs.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_inc.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_pptable.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_soc15.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu9.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu9_driver_if.h create mode 100644 drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h -- 2.5.5