[pull] radeon and amdgpu drm-next-4.5

Alex Deucher alexdeucher at gmail.com
Tue Dec 22 14:50:28 PST 2015


Hi Dave,

Sorry if you get this several times, I've been having trouble with
git-send-email and gmail the last couple of days.

Radeon and amdgpu changes for drm-next.  Big changes:
- Drop UMS support in radeon
- Support vbios fetch directly from rom on dGPU
- Support for EDC init on CZ
- DP audio fix for DCE8
- GPUVM optimizations
- Scheduler optimizations
- DP display fixes
- Add new drm pci helpers for pcie gen and lane info
- Add powerplay modules for amdgpu (tonga, fiji, CZ, ST)

The following changes since commit 80d69009ef67d0753c1c30c62056a04275898531:

  Merge tag 'drm-intel-next-2015-11-20-merged' of
git://anongit.freedesktop.org/drm-intel into drm-next (2015-12-01
08:01:53 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-4.5

for you to fetch changes up to eafbbd9883d0121811a9388988b80476dc12b1bf:

  amd/powerplay: fix copy paste typo in hardwaremanager.c (2015-12-21
17:13:05 -0500)

----------------------------------------------------------------
Alex Deucher (33):
      drm/radeon: remove UMS support
      drm/amdgpu: call hpd_irq_event on resume
      drm/radeon: call hpd_irq_event on resume
      drm/amdgpu: add a callback for reading the bios from the rom directly
      drm/amdgpu: add read_bios_from_rom callback for CI parts
      drm/amdgpu: add read_bios_from_rom callback for VI parts
      drm/amd: add new gfx8 register definitions for EDC
      drm/amdgpu: add EDC support for CZ (v3)
      drm/amdgpu: add more debugging output for driver failures
      drm/amdgpu: limit visible vram if it's smaller than the BAR
      drm/amdgpu: fix dp link rate selection (v2)
      drm/radeon: fix dp link rate selection (v2)
      drm/radeon: clean up fujitsu quirks
      drm/amd/powerplay: add basic powerplay framework
      drm/amd/powerplay/tonga: enable pcie and mclk forcing for low
      drm/amd/powerplay/fiji: enable pcie and mclk forcing for low
      drm/amdgpu: extract pcie helpers to common header
      drm: add drm_pcie_get_max_link_width helper (v2)
      drm/amdgpu: store pcie gen mask and link width
      drm/amdgpu/cgs: add sys info query for pcie gen and link width
      drm/amdgpu/powerplay/tonga: query supported pcie info from cgs (v2)
      drm/amdgpu/powerplay/fiji: query supported pcie info from cgs (v2)
      drm/amd/powerplay/tonga: Add UVD DPM init
      drm/amd/powerplay: add atomctrl function to calculate CZ sclk dividers
      drm/amd/powerplay: implement smc state upload for CZ
      drm/amdgpu/powerplay: enable sysfs and debugfs interfaces late
      drm/powerplay: add debugging output to tonga_processpptables.c
      drm/powerplay: add debugging output to processpptables.c
      drm/powerplay/hwmgr: log errors in tonga_hwmgr_backend_init
      drm/amd/powerplay: Don't return an error if fan table is missing
      amd/powerplay: don't enable ucode fan control if vbios has no fan table
      amd/powerplay: disable powerplay by default initially
      amd/powerplay: fix copy paste typo in hardwaremanager.c

Christian König (3):
      drm/amdgpu: put VM page tables directly into duplicates list
      drm/amdgpu: split VM PD and PT handling during CS
      drm/amdgpu: keep the PTs validation list in the VM v2

Chunming Zhou (7):
      drm/amd: abstract kernel rq and normal rq to priority of run queue
      drm/amdgpu: add err check for pin userptr
      drm/amdgpu: add entity only when first job come
      drm/amdgpu: handle error case for ctx
      drm/amdgpu: unify AMDGPU_CTX_MAX_CS_PENDING and amdgpu_sched_jobs
      drm/amdgpu: change default sched jobs to 32
      drm/amdgpu: restrict the sched jobs number to power of two

Daniel Vetter (2):
      drm/amdgpu: Use unlocked gem unreferencing
      drm/radeon: Use unlocked gem unreferencing

David Rokhvarg (2):
      drm/amd/powerplay: Add PPLib debug print macro.
      drm/amdgpu/powerplay: Program a calculated value as Deep Sleep clock.

Eric Huang (19):
      drm/amd/powerplay: add/update headers for Fiji SMU and DPM
      drm/amd/powerplay: update atomctrl for fiji
      drm/amd/powerplay: add Fiji SMU support.
      drm/amd/powerplay: add Fiji DPM support.
      drm/amd/amdgpu: enable powerplay and smc firmware loading for Fiji.
      drm/amd/amdgpu: add gfx clock gating support for Fiji.
      drm/amd/amdgpu: add gmc clock gating support for Fiji.
      drm/amdgpu: add sdma clock gating support for Fiji.
      drm/amd/powerplay: add parts of system clock gating support for Fiji. (v2)
      drm/amd/powerplay: enable clock gating for Fiji.
      drm/amd/powerplay: add multimedia power gating support for Fiji.
      drm/amd/amdgpu: add uvd6.0 clock gating support. (v2)
      drm/amd/amdgpu: add vce3.0 clock gating support. (v2)
      drm/amd/amdgpu: enable uvd&vce clock gating for Fiji.
      drm/amd/powerplay: add display configeration changed function in
hwmgr for Fiji.
      drm/amd/powerplay: Add thermal protection support for Fiji.
      drm/amd/powerplay: Fix a bug in fan control setting default mode
for Tonga and Fiji.
      drm/amd/powerplay: add functions set/get_fan_control_mode in
hwmgr for Tonga.
      drm/amd/powerplay: add functions set/get_fan_control_mode in
hwmgr for Fiji.

Eric Yang (1):
      amd/powerplay: Add structures required to report configuration change

Felix Kuehling (2):
      drm/radeon: Fix off-by-one errors in radeon_vm_bo_set_addr
      drm/amdgpu: Fix off-by-one errors in amdgpu_vm_bo_map

Flora Cui (3):
      drm/amdgpu/gfx8: Enable interrupt on ME1_PIPE3
      drm/amdgpu/gfx8: update PA_SC_RASTER_CONFIG:PKR_MAP only
      drm/amdgpu: update rev id register for VI

Jammy Zhou (10):
      drm/amdgpu: use $(src) in Makefile (v2)
      drm/amd/powerplay: add SMU manager sub-component
      drm/amd/powerplay: add hardware manager sub-component
      drm/amd/powerplay: add Carrizo smu support
      drm/amd/powerplay: add Carrizo dpm support
      drm/amd/powerplay: Add Tonga SMU support
      drm/amdgpu: add amdgpu.powerplay module option
      drm/amdgpu: support per device powerplay enablement (v2)
      drm/amdgpu: rename tonga_smumgr.h to tonga_smum.h
      drm/amdgpu: rename fiji_smumgr.h to fiji_smum.h

Julia Lawall (1):
      drm/radeon: constify radeon_asic_ring structures

Mario Kleiner (1):
      drm/radeon: Fixup hw vblank counter/ts for new
drm_update_vblank_count() (v2)

Nicolai Hähnle (4):
      drm/amdgpu: fix race condition in amd_sched_entity_push_job
      drm/ttm: fix documentation of ttm_bo_reserve
      drm/radeon: fix typo in cik_ring_ib_execute documentation (v2)
      drm/radeon: only increment sync_seq when a fence is really emitted

Qiang Yu (1):
      drm/amdgpu: Prepare DKMS build for powerplay module.

Rex Zhu (44):
      drm/amdgpu: share struct amdgpu_pm_state_type with powerplay module
      drm/amdgpu: mv some definition from amdgpu_acpi.c to amdgpu_acpi.h
      drm/amdgpu: mv amdgpu_acpi.h to amd/include/amd_acpi.h
      drm/amdgpu: implement new cgs interface for acpi function
      drm/amdgpu: implement cgs interface to query system info
      drm/amdgpu: add new cgs interface to get display info (v2)
      drm/amdgpu: disable legacy path of firmware check if powerplay is enabled
      drm/amdgpu: export amd_powerplay_func to amdgpu and other ip block
      drm/amd/powerplay: add CG and PG support for carrizo
      drm/amd/powerplay: add event manager sub-component
      drm/amd/powerplay: implement functions of amd_powerplay_func
      drm/amdgpu/powerplay: add function point in hwmgr_funcs for
program display gap
      drm/amdgpu/poweprlay: export program display gap function to eventmgr
      drm/amdgpu/powerplay: implement pem_task for display_configuration_change
      drm/amdgpu/powerplay: program display gap for tonga.
      drm/amdgpu: enable powerplay module by default for tonga.
      drm/amdgpu: enable powerplay module by default for fiji.
      drm/amdgpu/powerplay: add some definition for other ip block to
update cg pg.
      drm/amd/powerplay: add new function point in hwmgr_func for CG/PG.
      drm/amd/powerplay: Add CG and PG support for tonga
      drm/amdgpu/powerplay: add new function point in hwmgr_funcs for
thermal control
      drm/amdgpu/powerplay: mv ppinterrupt.h to inc folder to share
with other submodule.
      drm/amdgpu/powerplay: add thermal control interface in hwmgr.
      drm/amdgpu/powerplay: enable thermal interrupt task in eventmgr.
      drm/amdgpu/powerplay: implement thermal control for tonga.
      drm/amdgpu/powerplay: implement fan control interface in
amd_powerplay_funcs
      drm/amdgpu: export fan control functions to amdgpu
      drm/amdgpu: enable sysfs interface for powerplay
      drm/amd/powerplay: add and export hwmgr interface to eventmgr to
check hw states.
      drm/amd/powerplay: implement new funcs to check current states for tonga.
      drm/amd/powerplay: refine the logic of whether need to update power state.
      drm/amd/powerplay: fix warning of cast to pointer from integer
of different size.
      drm/amd/powerplay: add new function point in hwmgr.
      drm/amd/powerplay: add smc msg for NB P-State switch
      drm/amd/powerplay: export interface to DAL to init/change
display configuration.
      drm/amd/powerplay: enable set_cpu_power_state task. (v2)
      drm/amd/powerplay: enable/disable NB pstate feature for Carrizo.
      drm/amd/powerplay: fix bug that dpm funcs in debugfs/sysfs missing.
      drm/amd/powerplay: check whether enable dpm in powerplay.
      drm/amd/powerplay: move shared function of vi to hwmgr. (v2)
      drm/amd/powerplay: display gpu load when print performance for tonga.
      drm/amd/powerplay: add point check to avoid NULL point hang.
      drm/amd/powerplay: check whether need to enable thermal control. (v2)
      drm/amd/powerplay: show gpu load when print gpu performance for Cz. (v2)

Slava Grigorev (1):
      drm/radeon: Fix "slow" audio over DP on DCE8+

Thierry Reding (1):
      drm/radeon: Update radeon_get_vblank_counter_kms()

Tom St Denis (6):
      amdgpu/gfxv8: Add missing break to switch statement from states init code
      amdgpu/gfxv8: Cleanup of gfx_v8_0_tiling_mode_table_init() (v2)
      amdgpu/gfxv8: Simplification of gfx_v8_0_create_bitmask()
      amdgpu/gfxv8: Simplification in gfx_v8_0_enable_gui_idle_interrupt()
      amdgpu/gfxv8: Remove magic numbers from function
gfx_v8_0_tiling_mode_table_init()
      amdgpu/powerplay:  Add Stoney to list of early init cases

Vitaly Prosyak (2):
      amd\powerplay Implement get dal power level
      amd/powerplay: Fix get dal power level

jimqu (1):
      drm/amdgpu: add spin lock to protect freed list in vm (v2)

kbuild test robot (2):
      drm/amd/powerplay: fix boolreturn.cocci warnings
      drm/amd/powerplay: fix boolreturn.cocci warnings

monk.liu (1):
      drm/amdgpu: Use new read bios from rom callback

rezhu (1):
      drm/amd/powerplay: fix warning of cast to pointer from integer
of different size.

yanyang1 (4):
      drm/amd/powerplay: Add ixSWRST_COMMAND_1 in bif_5_0_d.h
      drm/amd/powerplay: Move smu7*.h from amdgpu to powerplay.
      drm/amd/powerplay: add header file for tonga smu and dpm
      drm/amd/powerplay: add Tonga dpm support (v3)

 drivers/gpu/drm/Kconfig                            |     1 +
 drivers/gpu/drm/amd/amdgpu/Makefile                |    20 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   140 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c           |    58 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c   |     2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c           |    58 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c            |   292 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |     8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c            |    41 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   163 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |    10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c             |     2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c            |    13 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             |   233 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c      |   317 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.h      |    33 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |    10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |   107 +-
 drivers/gpu/drm/amd/amdgpu/atombios_dp.c           |    96 +-
 drivers/gpu/drm/amd/amdgpu/cik.c                   |    67 +-
 drivers/gpu/drm/amd/amdgpu/fiji_dpm.c              |     2 +-
 drivers/gpu/drm/amd/amdgpu/fiji_ppsmc.h            |   182 -
 drivers/gpu/drm/amd/amdgpu/fiji_smc.c              |     2 +-
 .../drm/amd/amdgpu/{fiji_smumgr.h => fiji_smum.h}  |     0
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              |  2987 +++---
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c              |     4 +
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c              |   176 +
 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c             |   129 +-
 drivers/gpu/drm/amd/amdgpu/tonga_dpm.c             |     2 +-
 drivers/gpu/drm/amd/amdgpu/tonga_ppsmc.h           |   198 -
 drivers/gpu/drm/amd/amdgpu/tonga_smc.c             |     2 +-
 .../amd/amdgpu/{tonga_smumgr.h => tonga_smum.h}    |     0
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c              |   261 +-
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c              |   149 +-
 drivers/gpu/drm/amd/amdgpu/vi.c                    |   153 +-
 .../{amdgpu/amdgpu_acpi.h => include/amd_acpi.h}   |    61 +-
 drivers/gpu/drm/amd/include/amd_pcie.h             |    50 +
 drivers/gpu/drm/amd/include/amd_pcie_helpers.h     |   141 +
 drivers/gpu/drm/amd/include/amd_shared.h           |    21 +
 .../gpu/drm/amd/include/asic_reg/bif/bif_5_0_d.h   |     1 +
 .../gpu/drm/amd/include/asic_reg/gca/gfx_8_0_d.h   |    13 +
 drivers/gpu/drm/amd/include/atombios.h             |    79 +
 drivers/gpu/drm/amd/include/cgs_common.h           |    90 +-
 drivers/gpu/drm/amd/powerplay/Kconfig              |     6 +
 drivers/gpu/drm/amd/powerplay/Makefile             |    22 +
 drivers/gpu/drm/amd/powerplay/amd_powerplay.c      |   634 ++
 drivers/gpu/drm/amd/powerplay/eventmgr/Makefile    |    11 +
 .../drm/amd/powerplay/eventmgr/eventactionchains.c |   288 +
 .../drm/amd/powerplay/eventmgr/eventactionchains.h |    62 +
 drivers/gpu/drm/amd/powerplay/eventmgr/eventinit.c |   195 +
 drivers/gpu/drm/amd/powerplay/eventmgr/eventinit.h |    34 +
 .../drm/amd/powerplay/eventmgr/eventmanagement.c   |   215 +
 .../drm/amd/powerplay/eventmgr/eventmanagement.h   |    59 +
 drivers/gpu/drm/amd/powerplay/eventmgr/eventmgr.c  |   114 +
 .../drm/amd/powerplay/eventmgr/eventsubchains.c    |   410 +
 .../drm/amd/powerplay/eventmgr/eventsubchains.h    |   100 +
 .../gpu/drm/amd/powerplay/eventmgr/eventtasks.c    |   437 +
 .../gpu/drm/amd/powerplay/eventmgr/eventtasks.h    |    88 +
 drivers/gpu/drm/amd/powerplay/eventmgr/psm.c       |   118 +
 drivers/gpu/drm/amd/powerplay/eventmgr/psm.h       |    38 +
 drivers/gpu/drm/amd/powerplay/hwmgr/Makefile       |    15 +
 .../drm/amd/powerplay/hwmgr/cz_clockpowergating.c  |   252 +
 .../drm/amd/powerplay/hwmgr/cz_clockpowergating.h  |    37 +
 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c     |  1682 +++
 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h     |   326 +
 .../amd/powerplay/hwmgr/fiji_clockpowergating.c    |   114 +
 .../amd/powerplay/hwmgr/fiji_clockpowergating.h    |    35 +
 .../drm/amd/powerplay/hwmgr/fiji_dyn_defaults.h    |   105 +
 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c   |  5117 +++++++++
 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h   |   361 +
 .../gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c   |   553 +
 .../gpu/drm/amd/powerplay/hwmgr/fiji_powertune.h   |    66 +
 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c |   687 ++
 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.h |    62 +
 .../gpu/drm/amd/powerplay/hwmgr/functiontables.c   |   154 +
 .../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c  |   320 +
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c        |   560 +
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr_ppt.h    |   105 +
 drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c      |    76 +
 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c   |  1207 +++
 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h   |   246 +
 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h    |   617 ++
 drivers/gpu/drm/amd/powerplay/hwmgr/pppcielanes.c  |    64 +
 drivers/gpu/drm/amd/powerplay/hwmgr/pppcielanes.h  |    31 +
 .../gpu/drm/amd/powerplay/hwmgr/processpptables.c  |  1679 +++
 .../gpu/drm/amd/powerplay/hwmgr/processpptables.h  |    47 +
 .../amd/powerplay/hwmgr/tonga_clockpowergating.c   |   350 +
 .../amd/powerplay/hwmgr/tonga_clockpowergating.h   |    36 +
 .../drm/amd/powerplay/hwmgr/tonga_dyn_defaults.h   |   107 +
 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c  |  6069 +++++++++++
 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h  |   408 +
 .../gpu/drm/amd/powerplay/hwmgr/tonga_powertune.h  |    66 +
 .../gpu/drm/amd/powerplay/hwmgr/tonga_pptable.h    |   406 +
 .../amd/powerplay/hwmgr/tonga_processpptables.c    |  1142 ++
 .../amd/powerplay/hwmgr/tonga_processpptables.h    |    35 +
 .../gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c    |   590 ++
 .../gpu/drm/amd/powerplay/hwmgr/tonga_thermal.h    |    61 +
 drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h  |   298 +
 .../drm/amd/{amdgpu => powerplay/inc}/cz_ppsmc.h   |     1 +
 drivers/gpu/drm/amd/powerplay/inc/eventmanager.h   |   109 +
 drivers/gpu/drm/amd/powerplay/inc/eventmgr.h       |   125 +
 drivers/gpu/drm/amd/powerplay/inc/fiji_ppsmc.h     |   412 +
 drivers/gpu/drm/amd/powerplay/inc/fiji_pwrvirus.h  | 10299 +++++++++++++++++++
 .../gpu/drm/amd/powerplay/inc/hardwaremanager.h    |   383 +
 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h          |   799 ++
 drivers/gpu/drm/amd/powerplay/inc/power_state.h    |   200 +
 drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h        |    28 +
 drivers/gpu/drm/amd/powerplay/inc/pp_asicblocks.h  |    47 +
 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h       |    47 +
 drivers/gpu/drm/amd/powerplay/inc/pp_feature.h     |    67 +
 drivers/gpu/drm/amd/powerplay/inc/pp_instance.h    |    36 +
 .../gpu/drm/amd/powerplay/inc/pp_power_source.h    |    36 +
 drivers/gpu/drm/amd/powerplay/inc/ppinterrupt.h    |    46 +
 .../gpu/drm/amd/{amdgpu => powerplay/inc}/smu7.h   |     0
 drivers/gpu/drm/amd/powerplay/inc/smu72.h          |   664 ++
 drivers/gpu/drm/amd/powerplay/inc/smu72_discrete.h |   760 ++
 drivers/gpu/drm/amd/powerplay/inc/smu73.h          |   720 ++
 drivers/gpu/drm/amd/powerplay/inc/smu73_discrete.h |   799 ++
 .../amd/{amdgpu => powerplay/inc}/smu7_discrete.h  |     0
 .../amd/{amdgpu => powerplay/inc}/smu7_fusion.h    |     0
 .../gpu/drm/amd/{amdgpu => powerplay/inc}/smu8.h   |     0
 .../amd/{amdgpu => powerplay/inc}/smu8_fusion.h    |     8 +
 .../{amdgpu => powerplay/inc}/smu_ucode_xfer_cz.h  |     0
 .../gpu/drm/amd/powerplay/inc/smu_ucode_xfer_vi.h  |   100 +
 drivers/gpu/drm/amd/powerplay/inc/smumgr.h         |   182 +
 drivers/gpu/drm/amd/powerplay/inc/tonga_ppsmc.h    |   420 +
 drivers/gpu/drm/amd/powerplay/smumgr/Makefile      |     9 +
 drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c   |   858 ++
 drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.h   |   102 +
 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c |  1042 ++
 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.h |    77 +
 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c      |   263 +
 .../gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c    |   819 ++
 .../gpu/drm/amd/powerplay/smumgr/tonga_smumgr.h    |    53 +
 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c      |    32 +-
 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h      |     9 +-
 drivers/gpu/drm/drm_pci.c                          |    20 +
 drivers/gpu/drm/radeon/Kconfig                     |     9 -
 drivers/gpu/drm/radeon/Makefile                    |     4 -
 drivers/gpu/drm/radeon/atombios_dp.c               |   108 +-
 drivers/gpu/drm/radeon/cik.c                       |     7 +-
 drivers/gpu/drm/radeon/dce6_afmt.c                 |    16 +
 drivers/gpu/drm/radeon/drm_buffer.c                |   177 -
 drivers/gpu/drm/radeon/drm_buffer.h                |   148 -
 drivers/gpu/drm/radeon/evergreen.c                 |     3 +
 drivers/gpu/drm/radeon/r100.c                      |    10 +
 drivers/gpu/drm/radeon/r300_cmdbuf.c               |  1186 ---
 drivers/gpu/drm/radeon/r600_blit.c                 |   874 --
 drivers/gpu/drm/radeon/r600_cp.c                   |  2660 -----
 drivers/gpu/drm/radeon/r600_cs.c                   |    95 -
 drivers/gpu/drm/radeon/radeon.h                    |     3 +-
 drivers/gpu/drm/radeon/radeon_asic.c               |    38 +-
 drivers/gpu/drm/radeon/radeon_atombios.c           |    19 +-
 drivers/gpu/drm/radeon/radeon_cp.c                 |  2243 ----
 drivers/gpu/drm/radeon/radeon_device.c             |     1 +
 drivers/gpu/drm/radeon/radeon_display.c            |   106 +-
 drivers/gpu/drm/radeon/radeon_dp_mst.c             |    12 +-
 drivers/gpu/drm/radeon/radeon_drv.c                |    97 -
 drivers/gpu/drm/radeon/radeon_drv.h                |  2048 ----
 drivers/gpu/drm/radeon/radeon_fb.c                 |     2 +-
 drivers/gpu/drm/radeon/radeon_fence.c              |     4 +-
 drivers/gpu/drm/radeon/radeon_irq.c                |   402 -
 drivers/gpu/drm/radeon/radeon_kms.c                |    58 +-
 drivers/gpu/drm/radeon/radeon_mem.c                |   302 -
 drivers/gpu/drm/radeon/radeon_mode.h               |    10 +-
 drivers/gpu/drm/radeon/radeon_pm.c                 |     4 +-
 drivers/gpu/drm/radeon/radeon_state.c              |  3261 ------
 drivers/gpu/drm/radeon/radeon_vm.c                 |    12 +-
 drivers/gpu/drm/radeon/rs690.c                     |    10 +
 drivers/gpu/drm/radeon/si.c                        |     3 +
 drivers/gpu/drm/radeon/sid.h                       |     5 +
 include/drm/drmP.h                                 |     1 +
 include/drm/ttm/ttm_bo_driver.h                    |     4 +-
 173 files changed, 50888 insertions(+), 15917 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.h
 delete mode 100644 drivers/gpu/drm/amd/amdgpu/fiji_ppsmc.h
 rename drivers/gpu/drm/amd/amdgpu/{fiji_smumgr.h => fiji_smum.h} (100%)
 delete mode 100644 drivers/gpu/drm/amd/amdgpu/tonga_ppsmc.h
 rename drivers/gpu/drm/amd/amdgpu/{tonga_smumgr.h => tonga_smum.h} (100%)
 rename drivers/gpu/drm/amd/{amdgpu/amdgpu_acpi.h => include/amd_acpi.h} (91%)
 create mode 100644 drivers/gpu/drm/amd/include/amd_pcie.h
 create mode 100644 drivers/gpu/drm/amd/include/amd_pcie_helpers.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/Kconfig
 create mode 100644 drivers/gpu/drm/amd/powerplay/Makefile
 create mode 100644 drivers/gpu/drm/amd/powerplay/amd_powerplay.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/Makefile
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventinit.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventinit.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventmanagement.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventmanagement.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventmgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventtasks.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/eventtasks.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/psm.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/eventmgr/psm.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/Makefile
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_clockpowergating.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_clockpowergating.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_dyn_defaults.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_powertune.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_thermal.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/functiontables.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr_ppt.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/pppcielanes.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/pppcielanes.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_clockpowergating.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_clockpowergating.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_dyn_defaults.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_powertune.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_pptable.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h
 rename drivers/gpu/drm/amd/{amdgpu => powerplay/inc}/cz_ppsmc.h (99%)
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/eventmanager.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/eventmgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/fiji_ppsmc.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/fiji_pwrvirus.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/power_state.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_asicblocks.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_feature.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_instance.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/pp_power_source.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/ppinterrupt.h
 rename drivers/gpu/drm/amd/{amdgpu => powerplay/inc}/smu7.h (100%)
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu72.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu72_discrete.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu73.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu73_discrete.h
 rename drivers/gpu/drm/amd/{amdgpu => powerplay/inc}/smu7_discrete.h (100%)
 rename drivers/gpu/drm/amd/{amdgpu => powerplay/inc}/smu7_fusion.h (100%)
 rename drivers/gpu/drm/amd/{amdgpu => powerplay/inc}/smu8.h (100%)
 rename drivers/gpu/drm/amd/{amdgpu => powerplay/inc}/smu8_fusion.h (91%)
 rename drivers/gpu/drm/amd/{amdgpu => powerplay/inc}/smu_ucode_xfer_cz.h (100%)
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smu_ucode_xfer_vi.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/smumgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/inc/tonga_ppsmc.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/Makefile
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.h
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c
 create mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.h
 delete mode 100644 drivers/gpu/drm/radeon/drm_buffer.c
 delete mode 100644 drivers/gpu/drm/radeon/drm_buffer.h
 delete mode 100644 drivers/gpu/drm/radeon/r300_cmdbuf.c
 delete mode 100644 drivers/gpu/drm/radeon/r600_blit.c
 delete mode 100644 drivers/gpu/drm/radeon/r600_cp.c
 delete mode 100644 drivers/gpu/drm/radeon/radeon_cp.c
 delete mode 100644 drivers/gpu/drm/radeon/radeon_irq.c
 delete mode 100644 drivers/gpu/drm/radeon/radeon_mem.c
 delete mode 100644 drivers/gpu/drm/radeon/radeon_state.c


More information about the dri-devel mailing list