[pull] radeon, amdgpu, and ttm drm-next-4.15

Alex Deucher alexdeucher at gmail.com
Mon Oct 9 00:52:23 UTC 2017


Hi Dave,

More new stuff for 4.15. Highlights:
- Add clock query interface for raven
- Add new FENCE_TO_HANDLE ioctl
- UVD video encode ring support on polaris
- transparent huge page DMA support
- deadlock fixes
- compute pipe lru tweaks
- powerplay cleanups and regression fixes
- fix duplicate symbol issue with radeon and amdgpu
- misc bug fixes

The following changes since commit 6f87a895709eecc1542fe947e349364ad061ac00:

  drm/amdgpu: clarify license in amdgpu_trace_points.c (2017-09-26 15:14:37 -0400)

are available in the git repository at:

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

for you to fetch changes up to d3f04c98ead2b89887e1e3c09b26e4917bacdd9e:

  drm/radeon/dp: make radeon_dp_get_dp_link_config static (2017-10-08 20:16:29 -0400)

----------------------------------------------------------------
Alex Deucher (3):
      drm/amdgpu: fix vf error handling
      drm/radeon: move ci_send_msg_to_smc to where it's used
      drm/radeon/dp: make radeon_dp_get_dp_link_config static

Andres Rodriguez (3):
      drm/amdgpu: use multipipe compute policy on non PL11 asics
      drm/amdgpu: add option for force enable multipipe policy for compute
      drm/amdgpu: map compute rings by least recently used pipe

Christian König (4):
      drm/ttm: remove unsued options from ttm_mem_global_alloc_page
      drm/ttm: add support for different pool sizes
      drm/ttm: add transparent huge page support for DMA allocations v2
      drm/amdgpu: minor coding style fix

Colin Ian King (2):
      drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"
      drm/radeon: make functions alloc_pasid and free_pasid static

Dave Airlie (17):
      amdgpu: don't ask about CHASH just default it for now.
      amdgpu/powerplay: constify large struct
      drm/amdgpu/pp: constify some powerplay tables
      drm/amdgpu/vega10: static constify channel_number
      amdgpu/pp: remove ci_smc/smumgr split.
      amdgpu/pp: move PhwVega10_Magic to static const.
      amdgpu/pp: move amdgpu_fuses_default into static const.
      amdgpu/pp: slim down the pwr virus tables.
      drm/amdgpu: use designated initialiser for thermal_irq_src.
      amdgpu/pp: reduce size of vega10_fuses_default
      amdgfx/gfx: don't use static objects for ce/de meta. (v2)
      amdgpu/pp: use array_size to size the pwrvirus tables.
      amdgpu/pp: constify soft_dummy_pp_table.
      amdgpu/soc15: make the pcie index/data registers constant.
      amdgpu/nbio: use constant nbio_hdp_flush_reg structs.
      amdgpu/pp: rewrite polaris pwrvirus upload code.
      amdgpu/pp: rewrite fiji pwr virus upload code.

Evan Quan (6):
      drm/amd/powerplay: fixed wrong return value on error (v2)
      drm/amd/powerplay: added new raven ppsmc messages
      drm/amd/powerplay: get raven max/min gfx clocks (v2)
      drm/amd/powerplay: get raven current sclk and mclk (v2)
      drm/amd/powerplay: get raven sclk and mclk levels (v2)
      drm/amd/powerplay: fix typo on avfs disable

Felix Kuehling (2):
      drm/amd/chash: Fix typo
      drm/amdgpu: Handle GPUVM fault storms

Horace Chen (1):
      drm/amdgpu: Add a new flag for SR-IOV to share memory between PF & VF

James Zhu (9):
      drm/amdgpu: add uvd enc registers in header
      drm/amdgpu: add uvd enc command in header
      drm/amdgpu: add new uvd enc ring methods
      drm/amdgpu: add uvd enc rings
      drm/amdgpu: add uvd enc into run queue
      drm/amdgpu: add uvd enc vm functions (v2)
      drm/amdgpu: add uvd enc ring test
      drm/amdgpu: add uvd enc ib test
      drm/amdgpu: add uvd enc irq

Marek Olšák (3):
      drm/syncobj: extract two helpers from drm_syncobj_create
      drm/syncobj: add a new helper drm_syncobj_get_fd
      drm/amdgpu: add FENCE_TO_HANDLE ioctl that returns syncobj or sync_file

Nicolai Hähnle (5):
      drm/amd/sched: rename amd_sched_entity_pop_job
      drm/amd/sched: fix an outdated comment
      drm/amd/sched: move adding finish callback to amd_sched_job_begin
      drm/amd/sched: NULL out the s_fence field after run_job
      drm/amd/sched: fix deadlock caused by unsignaled fences of deleted jobs

Rex Zhu (15):
      drm/amdgpu: move common pm sysfs code to amdgpu_device.c
      drm/amdgpu: move amdgpu_ucode_init_bo to amdgpu_device.c
      drm/amd/powerplay: fix memory leak in powerplay
      drm/amdgpu: delete dead code about fw load check
      drm/amdgpu: delete pp_enable in adev
      drm/amdgpu: add cgs interface to register pp handle
      drm/amdgpu: create powerplay by cgs interface
      drm/amd/powerplay: change dmesg log level in powerplay
      drm/amdgpu: add comments in struct amd_pm_funcs define
      drm/amd/powerplay: export new interfaces in amd_pm_funcs
      drm/amd/powerplay: refine code in amd_powerplay.c (v2)
      drm/amd/powerplay: tidy up ret checks in amd_powerplay.c (v3)
      drm/amd/powerplay: move set_clockgating_by_smu to pp func table
      drm/amd/powerplay: delete flag PP_VALID
      drm/amd/powerplay: fix mclk can't switch on Tonga

Tom St Denis (1):
      drm/amd/powerplay:  Partially revert changes and fix smu7_notify_smc_display()

ozeng (1):
      drm/amdgpu: Fixed a potential circular lock

 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |     4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c  |    10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c  |    10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c            |    23 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             |    61 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |    37 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h            |     4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |     7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c            |    20 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c            |     1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             |    83 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c      |    60 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |     9 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c      |     8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c           |    25 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h           |     5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c       |    54 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.h       |     5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h           |    13 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |    37 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h             |     7 +-
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c                |     1 -
 drivers/gpu/drm/amd/amdgpu/cik_ih.c                |    19 +-
 drivers/gpu/drm/amd/amdgpu/cz_ih.c                 |    19 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              |    87 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              |     6 +-
 drivers/gpu/drm/amd/amdgpu/iceland_ih.c            |    19 +-
 drivers/gpu/drm/amd/amdgpu/kv_dpm.c                |     7 -
 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c             |    44 +-
 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h             |     4 +-
 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c             |    44 +-
 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.h             |     4 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c             |    20 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c             |    21 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c             |     2 +-
 drivers/gpu/drm/amd/amdgpu/si_dpm.c                |     6 -
 drivers/gpu/drm/amd/amdgpu/soc15.c                 |    19 +-
 drivers/gpu/drm/amd/amdgpu/tonga_ih.c              |    19 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c              |   498 +-
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c             |    11 +-
 drivers/gpu/drm/amd/amdgpu/vi.c                    |    22 +-
 drivers/gpu/drm/amd/amdgpu/vid.h                   |    10 +
 drivers/gpu/drm/amd/include/amd_shared.h           |    80 +-
 .../gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_d.h   |    15 +
 drivers/gpu/drm/amd/include/atombios.h             |     1 +
 drivers/gpu/drm/amd/include/cgs_common.h           |     8 +
 drivers/gpu/drm/amd/lib/Kconfig                    |     3 +-
 drivers/gpu/drm/amd/lib/chash.c                    |     4 +-
 drivers/gpu/drm/amd/powerplay/amd_powerplay.c      |   280 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c     |     2 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c        |     7 +-
 .../gpu/drm/amd/powerplay/hwmgr/pp_overdriver.c    |  2489 ++--
 .../gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h    |     4 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c       |     6 +-
 .../gpu/drm/amd/powerplay/hwmgr/processpptables.c  |     2 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c     |   110 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.h     |     2 +
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c   |     7 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c |     8 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h |     1 -
 .../gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c |     8 +-
 drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h  |     9 +-
 drivers/gpu/drm/amd/powerplay/inc/fiji_pwrvirus.h  | 12222 +++----------------
 .../gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h | 11792 +++---------------
 drivers/gpu/drm/amd/powerplay/inc/pp_instance.h    |     3 -
 drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h       |     7 +-
 drivers/gpu/drm/amd/powerplay/smumgr/Makefile      |     2 +-
 drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.c      |    87 +-
 drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.h      |    52 -
 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c   |    86 -
 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c |    51 +-
 .../gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c  |     2 +-
 .../drm/amd/powerplay/smumgr/polaris10_smumgr.c    |    51 +-
 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c |     2 +-
 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c      |    24 +-
 drivers/gpu/drm/drm_syncobj.c                      |    82 +-
 drivers/gpu/drm/radeon/atombios_dp.c               |     8 +-
 drivers/gpu/drm/radeon/ci_dpm.c                    |    22 +
 drivers/gpu/drm/radeon/ci_dpm.h                    |     1 -
 drivers/gpu/drm/radeon/ci_smc.c                    |    21 -
 drivers/gpu/drm/radeon/radeon_kfd.c                |     4 +-
 drivers/gpu/drm/radeon/radeon_mode.h               |     4 -
 drivers/gpu/drm/ttm/ttm_memory.c                   |    12 +-
 drivers/gpu/drm/ttm/ttm_page_alloc.c               |     4 +-
 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c           |   223 +-
 include/drm/drm_syncobj.h                          |     5 +
 include/drm/ttm/ttm_memory.h                       |     5 +-
 include/uapi/drm/amdgpu_drm.h                      |    16 +
 88 files changed, 6757 insertions(+), 22442 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.h
 delete mode 100644 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c


More information about the dri-devel mailing list