[pull] amdgpu drm-next-4.2

Hi Dave, This is the big pull request for amdgpu, the new driver for VI+ AMD asics. I currently supports Tonga, Iceland, and Carrizo and also contains a Kconfig option to build support for CI parts for testing. All major functionality is supported (displays, gfx, compute, dma, video decode/encode, etc.). Power management is working on Carrizo, but is still being worked on for Tonga and Iceland. The usermode bits are available in the following repositories: libdrm: http://cgit.freedesktop.org/~agd5f/drm/log/?h=amdgpu mesa: http://cgit.freedesktop.org/~agd5f/mesa/log/?h=amdgpu ddx: http://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu The following changes since commit 63e1456122761745082d325329ccce749a426059: Merge branch 'virtio-gpu-drm-next' of git://git.kraxel.org/linux into drm-next (2015-06-04 09:36:39 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-4.2-amdgpu for you to fetch changes up to 3ccec53c294cbec2af44b6b24f70349637c45428: drm/amdgpu: only support IBs in the buffer list (v2) (2015-06-03 21:04:05 -0400) ---------------------------------------------------------------- Alex Deucher (52): drm/amdgpu: add BIF 4.1 register headers drm/amdgpu: add BIF 5.0 register headers drm/amdgpu: add BIF 5.1 register headers drm/amdgpu: add DCE 8.0 register headers drm/amdgpu: add DCE 10.0 register headers drm/amdgpu: add DCE 11.0 register headers drm/amdgpu: add GCA 7.0 register headers drm/amdgpu: add GCA 7.2 register headers drm/amdgpu: add GCA 8.0 register headers drm/amdgpu: add GMC 7.0 register headers drm/amdgpu: add GMC 7.1 register headers drm/amdgpu: add GMC 8.1 register headers drm/amdgpu: add GMC 8.2 register headers drm/amdgpu: add OSS 2.0 register headers drm/amdgpu: add OSS 2.4 register headers drm/amdgpu: add OSS 3.0 register headers drm/amdgpu: add OSS 3.0.1 register headers drm/amdgpu: add SMU 7.0.0 register headers drm/amdgpu: add SMU 7.0.1 register headers drm/amdgpu: add SMU 7.1.0 register headers drm/amdgpu: add SMU 7.1.1 register headers drm/amdgpu: add SMU 7.1.2 register headers drm/amdgpu: add SMU 8.0 register headers drm/amdgpu: add UVD 4.2 register headers drm/amdgpu: add UVD 5.0 register headers drm/amdgpu: add UVD 6.0 register headers drm/amdgpu: add VCE 2.0 register headers drm/amdgpu: add VCE 3.0 register headers drm/amdgpu: add amdgpu uapi header (v4) drm/amdgpu: add atombios headers drm/amdgpu: add clearstate_defs.h drm/amdgpu: add ppsmc.h drm/amdgpu: add amdgpu_family.h drm/amdgpu: add amdgpu.h (v2) drm/amdgpu: add core driver (v4) drm/amdgpu: fix const warnings in amdgpu_connectors.c drm/amdgpu: Do not directly dereference pointers to BIOS area. drm/amdgpu: Add support for CIK parts drm/amdgpu: Add initial VI support drm/amdgpu: add CIK pci ids drm/amdgpu: add VI pci ids drm/amdgpu: drop ttm two ended allocation drm/amdgpu: fix error handling in cz_dpm_hw_fini/cz_dpm_suspend drm/amdgpu: memset gds_info struct in info ioctl drm/amdgpu: add new bonaire pci id drm/amdgpu: add some new tonga pci ids drm/amdgpu: take the mode_config mutex when handling hpds drm/amdgpu: make some DP parameters const drm/amdgpu: simplify DPCD debug output drm/amdgpu: retry dcpd fetch drm/amdgpu: remove unused TRACE_SYSTEM_STRING define drm/amdgpu: fix description of vm_size module parameter (v2) Christian König (15): drm/amdgpu: fix userptr lockup drm/amdgpu: always emit GDS switch drm/amdgpu: cleanup HDP flush handling drm/amdgpu: fix dereference before check drm/amdgpu: fix context switch drm/amdgpu: fix VM_CONTEXT*_PAGE_TABLE_END_ADDR handling drm/amdgpu: enforce AMDGPU_GEM_CREATE_NO_CPU_ACCESS drm/amdgpu: validate amdgpu_vm_bo_map parameters drm/amdgpu: actually use the VM map parameters drm/amdgpu: port fault_reserve_notify changes from radeon drm/amdgpu: drop AMDGPU_FENCE_SIGNALED_SEQ drm/amdgpu: drop allocation flag masks drm/amdgpu: remove mclk_lock drm/amdgpu: stop loading firmware with pm.mutex locked drm/amdgpu: add HEVC/H.265 UVD support Chunming Zhou (1): drm/amdgpu: implement the allocation range (v3) Jack Xiao (2): drm/amdgpu: fix error check issue in amdgpu_mn_invalidate_range_start drm/amdgpu: allow unaligned memory access (v2) Jammy Zhou (9): drm/amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC drm/amdgpu: add ctx_id to the WAIT_CS IOCTL (v4) drm/amdgpu: check context id for context switching (v2) drm/amdgpu: add flags for amdgpu_ib structure drm/amdgpu: add CE preamble flag v3 drm/amdgpu: expose the max virtual address drm/amdgpu: do necessary NULL check drm/amdgpu: switch to amdgpu folder for firmware files v2 drm/amdgpu: rewording some left radeons Ken Wang (5): drm/amdgpu add max_memory_clock for interface query (v2) drm/amdgpu add ce_ram_size for interface query drm/amdgpu: add me/ce/pfp_feature_version interface query drm/amdgpu: add ib_size/start_alignment interface query drm/amdgpu: add vram_type and vram_bit_width for interface query (v2) Leo Liu (2): drm/amdgpu: recalculate VCE firmware BO size drm/amdgpu: implement VCE two instances support Marek Olšák (7): drm/amdgpu: remove unsafe context releasing drm/amdgpu: make the CTX ioctl thread-safe drm/amdgpu: add and implement the GPU reset status query drm/amdgpu: don't set unused tiling flags drm/amdgpu: rework tiling flags drm/amdgpu: rename GEM_OP_SET_INITIAL_DOMAIN -> GEM_OP_SET_PLACEMENT drm/amdgpu: only support IBs in the buffer list (v2) Sonny Jiang (2): drm/amdgpu fix amdgpu.dpm=0 (v2) drm/amdgpu: enable uvd dpm and powergating monk.liu (10): drm/amdgpu: fix bug occurs when bo_list is NULL drm/amdgpu: let bo_list handler start from 1 drm/amdgpu: fix userptr BO unpin bug (v2) drm/amdgpu: fix bug of vm_bo_map (v2) drm/amdgpu: max_pde_used usage should be under protect drm/amdgpu: sync fence of clear_invalids (v2) drm/amdgpu: fence should be added to shared slot drm/amdgpu: remove all sh mem register modification in vm flush drm/amdgpu: fix no hdp flush for compute ring drm/amdgpu: add hdp flush for gfx8 compute ring yanyang1 (1): drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) drivers/gpu/drm/Kconfig | 21 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/amd/amdgpu/Kconfig | 17 + drivers/gpu/drm/amd/amdgpu/Makefile | 81 + drivers/gpu/drm/amd/amdgpu/ObjectID.h | 736 + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2332 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 768 + drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.h | 445 + drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c | 105 + drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 1598 + drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | 206 + drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 572 + drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c | 221 + drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 363 + drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 268 + drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 1907 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.h | 42 + drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 784 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 193 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2003 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 832 + drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 955 + drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | 85 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 545 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h | 48 + drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | 245 + drivers/gpu/drm/amd/amdgpu/amdgpu_family.h | 62 + drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 421 + drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 1127 + drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 371 + drivers/gpu/drm/amd/amdgpu/amdgpu_gds.h | 72 + drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 737 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 72 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 30 + drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | 395 + drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h | 44 + drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 353 + drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 216 + drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 62 + drivers/gpu/drm/amd/amdgpu/amdgpu_ioc32.c | 47 + drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 458 + drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | 92 + drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 697 + drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c | 322 + drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 586 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 671 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 203 + drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | 350 + drivers/gpu/drm/amd/amdgpu/amdgpu_pll.h | 38 + drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 799 + drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h | 35 + drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 125 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 561 + drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | 419 + drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c | 102 + drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 234 + drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | 552 + drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 208 + drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c | 9 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1215 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 317 + drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 176 + drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 984 + drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | 39 + drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 724 + drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h | 47 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1265 + drivers/gpu/drm/amd/amdgpu/atom-bits.h | 48 + drivers/gpu/drm/amd/amdgpu/atom-names.h | 100 + drivers/gpu/drm/amd/amdgpu/atom-types.h | 42 + drivers/gpu/drm/amd/amdgpu/atom.c | 1408 + drivers/gpu/drm/amd/amdgpu/atom.h | 159 + drivers/gpu/drm/amd/amdgpu/atombios.h | 8555 +++++ drivers/gpu/drm/amd/amdgpu/atombios_crtc.c | 807 + drivers/gpu/drm/amd/amdgpu/atombios_crtc.h | 58 + drivers/gpu/drm/amd/amdgpu/atombios_dp.c | 775 + drivers/gpu/drm/amd/amdgpu/atombios_dp.h | 42 + drivers/gpu/drm/amd/amdgpu/atombios_encoders.c | 2066 ++ drivers/gpu/drm/amd/amdgpu/atombios_encoders.h | 73 + drivers/gpu/drm/amd/amdgpu/atombios_i2c.c | 158 + drivers/gpu/drm/amd/amdgpu/atombios_i2c.h | 31 + drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 6699 ++++ drivers/gpu/drm/amd/amdgpu/ci_dpm.h | 348 + drivers/gpu/drm/amd/amdgpu/ci_smc.c | 279 + drivers/gpu/drm/amd/amdgpu/cik.c | 2513 ++ drivers/gpu/drm/amd/amdgpu/cik.h | 33 + drivers/gpu/drm/amd/amdgpu/cik_dpm.h | 30 + drivers/gpu/drm/amd/amdgpu/cik_ih.c | 471 + drivers/gpu/drm/amd/amdgpu/cik_ih.h | 29 + drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 1405 + drivers/gpu/drm/amd/amdgpu/cik_sdma.h | 29 + drivers/gpu/drm/amd/amdgpu/cikd.h | 555 + drivers/gpu/drm/amd/amdgpu/clearstate_ci.h | 944 + drivers/gpu/drm/amd/amdgpu/clearstate_defs.h | 44 + drivers/gpu/drm/amd/amdgpu/clearstate_vi.h | 944 + drivers/gpu/drm/amd/amdgpu/cz_dpm.c | 1814 + drivers/gpu/drm/amd/amdgpu/cz_dpm.h | 237 + drivers/gpu/drm/amd/amdgpu/cz_ih.c | 452 + drivers/gpu/drm/amd/amdgpu/cz_ih.h | 29 + drivers/gpu/drm/amd/amdgpu/cz_ppsmc.h | 185 + drivers/gpu/drm/amd/amdgpu/cz_smc.c | 962 + drivers/gpu/drm/amd/amdgpu/cz_smumgr.h | 94 + drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 3811 +++ drivers/gpu/drm/amd/amdgpu/dce_v10_0.h | 29 + drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 3810 +++ drivers/gpu/drm/amd/amdgpu/dce_v11_0.h | 29 + drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 3771 +++ drivers/gpu/drm/amd/amdgpu/dce_v8_0.h | 29 + drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 5638 ++++ drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h | 37 + drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4283 +++ drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h | 33 + drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 1339 + drivers/gpu/drm/amd/amdgpu/gmc_v7_0.h | 36 + drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 1301 + drivers/gpu/drm/amd/amdgpu/gmc_v8_0.h | 36 + drivers/gpu/drm/amd/amdgpu/iceland_dpm.c | 182 + drivers/gpu/drm/amd/amdgpu/iceland_ih.c | 450 + drivers/gpu/drm/amd/amdgpu/iceland_ih.h | 29 + drivers/gpu/drm/amd/amdgpu/iceland_sdma_pkt_open.h | 2167 ++ drivers/gpu/drm/amd/amdgpu/iceland_smc.c | 675 + drivers/gpu/drm/amd/amdgpu/iceland_smumgr.h | 41 + drivers/gpu/drm/amd/amdgpu/kv_dpm.c | 3343 ++ drivers/gpu/drm/amd/amdgpu/kv_dpm.h | 229 + drivers/gpu/drm/amd/amdgpu/kv_smc.c | 219 + drivers/gpu/drm/amd/amdgpu/ppsmc.h | 196 + drivers/gpu/drm/amd/amdgpu/pptable.h | 698 + drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 1416 + drivers/gpu/drm/amd/amdgpu/sdma_v2_4.h | 29 + drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 1482 + drivers/gpu/drm/amd/amdgpu/sdma_v3_0.h | 29 + drivers/gpu/drm/amd/amdgpu/smu7.h | 170 + drivers/gpu/drm/amd/amdgpu/smu7_discrete.h | 514 + drivers/gpu/drm/amd/amdgpu/smu7_fusion.h | 300 + drivers/gpu/drm/amd/amdgpu/smu8.h | 72 + drivers/gpu/drm/amd/amdgpu/smu8_fusion.h | 127 + drivers/gpu/drm/amd/amdgpu/smu_ucode_xfer_cz.h | 147 + drivers/gpu/drm/amd/amdgpu/smu_ucode_xfer_vi.h | 100 + drivers/gpu/drm/amd/amdgpu/tonga_dpm.c | 181 + drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 473 + drivers/gpu/drm/amd/amdgpu/tonga_ih.h | 29 + drivers/gpu/drm/amd/amdgpu/tonga_ppsmc.h | 198 + drivers/gpu/drm/amd/amdgpu/tonga_sdma_pkt_open.h | 2240 ++ drivers/gpu/drm/amd/amdgpu/tonga_smc.c | 852 + drivers/gpu/drm/amd/amdgpu/tonga_smumgr.h | 42 + drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 905 + drivers/gpu/drm/amd/amdgpu/uvd_v4_2.h | 29 + drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 844 + drivers/gpu/drm/amd/amdgpu/uvd_v5_0.h | 29 + drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 824 + drivers/gpu/drm/amd/amdgpu/uvd_v6_0.h | 29 + drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 663 + drivers/gpu/drm/amd/amdgpu/vce_v2_0.h | 29 + drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 573 + drivers/gpu/drm/amd/amdgpu/vce_v3_0.h | 29 + drivers/gpu/drm/amd/amdgpu/vi.c | 1381 + drivers/gpu/drm/amd/amdgpu/vi.h | 33 + drivers/gpu/drm/amd/amdgpu/vi_dpm.h | 36 + drivers/gpu/drm/amd/amdgpu/vid.h | 368 + drivers/gpu/drm/amd/include/amd_shared.h | 81 + .../gpu/drm/amd/include/asic_reg/bif/bif_4_1_d.h | 921 + .../drm/amd/include/asic_reg/bif/bif_4_1_sh_mask.h | 10250 ++++++ .../gpu/drm/amd/include/asic_reg/bif/bif_5_0_d.h | 1068 + .../drm/amd/include/asic_reg/bif/bif_5_0_enum.h | 1198 + .../drm/amd/include/asic_reg/bif/bif_5_0_sh_mask.h | 11494 +++++++ .../gpu/drm/amd/include/asic_reg/bif/bif_5_1_d.h | 3577 ++ .../drm/amd/include/asic_reg/bif/bif_5_1_enum.h | 1068 + .../drm/amd/include/asic_reg/bif/bif_5_1_sh_mask.h | 33080 +++++++++++++++++++ .../gpu/drm/amd/include/asic_reg/dce/dce_10_0_d.h | 7350 ++++ .../drm/amd/include/asic_reg/dce/dce_10_0_enum.h | 1773 + .../amd/include/asic_reg/dce/dce_10_0_sh_mask.h | 16647 ++++++++++ .../gpu/drm/amd/include/asic_reg/dce/dce_11_0_d.h | 7648 +++++ .../drm/amd/include/asic_reg/dce/dce_11_0_enum.h | 6129 ++++ .../amd/include/asic_reg/dce/dce_11_0_sh_mask.h | 17557 ++++++++++ .../gpu/drm/amd/include/asic_reg/dce/dce_8_0_d.h | 5703 ++++ .../drm/amd/include/asic_reg/dce/dce_8_0_sh_mask.h | 13109 ++++++++ .../gpu/drm/amd/include/asic_reg/gca/gfx_7_0_d.h | 2532 ++ .../gpu/drm/amd/include/asic_reg/gca/gfx_7_2_d.h | 2557 ++ .../drm/amd/include/asic_reg/gca/gfx_7_2_enum.h | 6274 ++++ .../drm/amd/include/asic_reg/gca/gfx_7_2_sh_mask.h | 18444 +++++++++++ .../gpu/drm/amd/include/asic_reg/gca/gfx_8_0_d.h | 2811 ++ .../drm/amd/include/asic_reg/gca/gfx_8_0_enum.h | 6858 ++++ .../drm/amd/include/asic_reg/gca/gfx_8_0_sh_mask.h | 20776 ++++++++++++ .../gpu/drm/amd/include/asic_reg/gmc/gmc_7_0_d.h | 657 + .../drm/amd/include/asic_reg/gmc/gmc_7_0_sh_mask.h | 6116 ++++ .../gpu/drm/amd/include/asic_reg/gmc/gmc_7_1_d.h | 1464 + .../drm/amd/include/asic_reg/gmc/gmc_7_1_sh_mask.h | 14416 ++++++++ .../gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_d.h | 1708 + .../drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h | 1198 + .../drm/amd/include/asic_reg/gmc/gmc_8_1_sh_mask.h | 15682 +++++++++ .../gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_d.h | 910 + .../drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h | 1068 + .../drm/amd/include/asic_reg/gmc/gmc_8_2_sh_mask.h | 7850 +++++ .../gpu/drm/amd/include/asic_reg/oss/oss_2_0_d.h | 642 + .../drm/amd/include/asic_reg/oss/oss_2_0_sh_mask.h | 2476 ++ .../gpu/drm/amd/include/asic_reg/oss/oss_2_4_d.h | 471 + .../drm/amd/include/asic_reg/oss/oss_2_4_enum.h | 1340 + .../drm/amd/include/asic_reg/oss/oss_2_4_sh_mask.h | 2544 ++ .../gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_d.h | 593 + .../drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h | 1464 + .../amd/include/asic_reg/oss/oss_3_0_1_sh_mask.h | 3558 ++ .../gpu/drm/amd/include/asic_reg/oss/oss_3_0_d.h | 688 + .../drm/amd/include/asic_reg/oss/oss_3_0_enum.h | 1497 + .../drm/amd/include/asic_reg/oss/oss_3_0_sh_mask.h | 3660 ++ .../gpu/drm/amd/include/asic_reg/smu/smu_7_0_0_d.h | 741 + .../amd/include/asic_reg/smu/smu_7_0_0_sh_mask.h | 3842 +++ .../gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_d.h | 1314 + .../amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h | 5456 +++ .../gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h | 1344 + .../drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h | 1191 + .../amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h | 5648 ++++ .../gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_d.h | 1123 + .../drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h | 1205 + .../amd/include/asic_reg/smu/smu_7_1_1_sh_mask.h | 4864 +++ .../gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_d.h | 1273 + .../drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h | 1246 + .../amd/include/asic_reg/smu/smu_7_1_2_sh_mask.h | 5834 ++++ .../gpu/drm/amd/include/asic_reg/smu/smu_8_0_d.h | 671 + .../drm/amd/include/asic_reg/smu/smu_8_0_enum.h | 1072 + .../drm/amd/include/asic_reg/smu/smu_8_0_sh_mask.h | 2964 ++ .../gpu/drm/amd/include/asic_reg/uvd/uvd_4_2_d.h | 95 + .../drm/amd/include/asic_reg/uvd/uvd_4_2_sh_mask.h | 800 + .../gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_d.h | 114 + .../drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h | 1211 + .../drm/amd/include/asic_reg/uvd/uvd_5_0_sh_mask.h | 1046 + .../gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_d.h | 115 + .../drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h | 1081 + .../drm/amd/include/asic_reg/uvd/uvd_6_0_sh_mask.h | 1034 + .../gpu/drm/amd/include/asic_reg/vce/vce_2_0_d.h | 68 + .../drm/amd/include/asic_reg/vce/vce_2_0_sh_mask.h | 104 + .../gpu/drm/amd/include/asic_reg/vce/vce_3_0_d.h | 73 + .../drm/amd/include/asic_reg/vce/vce_3_0_sh_mask.h | 120 + include/uapi/drm/amdgpu_drm.h | 613 + 233 files changed, 424781 insertions(+) create mode 100644 drivers/gpu/drm/amd/amdgpu/Kconfig create mode 100644 drivers/gpu/drm/amd/amdgpu/Makefile create mode 100644 drivers/gpu/drm/amd/amdgpu/ObjectID.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_family.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_gds.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ioc32.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_pll.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_semaphore.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/atom-bits.h create mode 100644 drivers/gpu/drm/amd/amdgpu/atom-names.h create mode 100644 drivers/gpu/drm/amd/amdgpu/atom-types.h create mode 100644 drivers/gpu/drm/amd/amdgpu/atom.c create mode 100644 drivers/gpu/drm/amd/amdgpu/atom.h create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios.h create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios_crtc.h create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios_dp.c create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios_dp.h create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios_encoders.h create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c create mode 100644 drivers/gpu/drm/amd/amdgpu/atombios_i2c.h create mode 100644 drivers/gpu/drm/amd/amdgpu/ci_dpm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/ci_dpm.h create mode 100644 drivers/gpu/drm/amd/amdgpu/ci_smc.c create mode 100644 drivers/gpu/drm/amd/amdgpu/cik.c create mode 100644 drivers/gpu/drm/amd/amdgpu/cik.h create mode 100644 drivers/gpu/drm/amd/amdgpu/cik_dpm.h create mode 100644 drivers/gpu/drm/amd/amdgpu/cik_ih.c create mode 100644 drivers/gpu/drm/amd/amdgpu/cik_ih.h create mode 100644 drivers/gpu/drm/amd/amdgpu/cik_sdma.c create mode 100644 drivers/gpu/drm/amd/amdgpu/cik_sdma.h create mode 100644 drivers/gpu/drm/amd/amdgpu/cikd.h create mode 100644 drivers/gpu/drm/amd/amdgpu/clearstate_ci.h create mode 100644 drivers/gpu/drm/amd/amdgpu/clearstate_defs.h create mode 100644 drivers/gpu/drm/amd/amdgpu/clearstate_vi.h create mode 100644 drivers/gpu/drm/amd/amdgpu/cz_dpm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/cz_dpm.h create mode 100644 drivers/gpu/drm/amd/amdgpu/cz_ih.c create mode 100644 drivers/gpu/drm/amd/amdgpu/cz_ih.h create mode 100644 drivers/gpu/drm/amd/amdgpu/cz_ppsmc.h create mode 100644 drivers/gpu/drm/amd/amdgpu/cz_smc.c create mode 100644 drivers/gpu/drm/amd/amdgpu/cz_smumgr.h create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v10_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v11_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v8_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/iceland_dpm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/iceland_ih.c create mode 100644 drivers/gpu/drm/amd/amdgpu/iceland_ih.h create mode 100644 drivers/gpu/drm/amd/amdgpu/iceland_sdma_pkt_open.h create mode 100644 drivers/gpu/drm/amd/amdgpu/iceland_smc.c create mode 100644 drivers/gpu/drm/amd/amdgpu/iceland_smumgr.h create mode 100644 drivers/gpu/drm/amd/amdgpu/kv_dpm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/kv_dpm.h create mode 100644 drivers/gpu/drm/amd/amdgpu/kv_smc.c create mode 100644 drivers/gpu/drm/amd/amdgpu/ppsmc.h create mode 100644 drivers/gpu/drm/amd/amdgpu/pptable.h create mode 100644 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c create mode 100644 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.h create mode 100644 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/smu7.h create mode 100644 drivers/gpu/drm/amd/amdgpu/smu7_discrete.h create mode 100644 drivers/gpu/drm/amd/amdgpu/smu7_fusion.h create mode 100644 drivers/gpu/drm/amd/amdgpu/smu8.h create mode 100644 drivers/gpu/drm/amd/amdgpu/smu8_fusion.h create mode 100644 drivers/gpu/drm/amd/amdgpu/smu_ucode_xfer_cz.h create mode 100644 drivers/gpu/drm/amd/amdgpu/smu_ucode_xfer_vi.h create mode 100644 drivers/gpu/drm/amd/amdgpu/tonga_dpm.c create mode 100644 drivers/gpu/drm/amd/amdgpu/tonga_ih.c create mode 100644 drivers/gpu/drm/amd/amdgpu/tonga_ih.h create mode 100644 drivers/gpu/drm/amd/amdgpu/tonga_ppsmc.h create mode 100644 drivers/gpu/drm/amd/amdgpu/tonga_sdma_pkt_open.h create mode 100644 drivers/gpu/drm/amd/amdgpu/tonga_smc.c create mode 100644 drivers/gpu/drm/amd/amdgpu/tonga_smumgr.h create mode 100644 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c create mode 100644 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.h create mode 100644 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vce_v2_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vce_v3_0.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vi.c create mode 100644 drivers/gpu/drm/amd/amdgpu/vi.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vi_dpm.h create mode 100644 drivers/gpu/drm/amd/amdgpu/vid.h create mode 100644 drivers/gpu/drm/amd/include/amd_shared.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_4_1_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_4_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/bif/bif_5_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_10_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_10_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_10_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_11_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_8_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/dce/dce_8_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_7_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_7_2_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_7_2_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_7_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gca/gfx_8_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_7_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_7_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_7_1_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_7_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/gmc/gmc_8_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_2_4_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smu/smu_8_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_4_2_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_4_2_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_5_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_enum.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_2_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_2_0_sh_mask.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_3_0_d.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/vce/vce_3_0_sh_mask.h create mode 100644 include/uapi/drm/amdgpu_drm.h