[pull] amdgpu, radeon, scheduler drm-next-4.19

Alex Deucher alexdeucher at gmail.com
Thu Jul 5 22:14:47 UTC 2018


Hi Dave,

More features for 4.19:
- Use core pcie functionality rather than duplicating our own for pcie
  gens and lanes
- Scheduler function naming cleanups
- More documentation
- Reworked DC/Powerplay interfaces to improve power savings
- Initial stutter mode support for RV (power feature)
- Vega12 powerplay updates
- GFXOFF fixes
- Misc fixes

The following changes since commit f29135ee4e0d4e01911ed569f731bfdb841cea6d:

  Merge v4.18-rc3 into drm-next (2018-07-04 10:27:12 +1000)

are available in the git repository at:

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

for you to fetch changes up to 43911fb68b19f7c37ab69eff8e6a3c1370bc0cb5:

  drm/amd: Add sphinx documentation for amd_ip_funcs (2018-07-05 16:57:54 -0500)

----------------------------------------------------------------
Alex Deucher (17):
      Revert "drm/amdgpu: avoid sleep while executing atombios table (V2)"
      drm/amdgpu: fix swapped emit_ib_size in vce3
      drm/amdgpu/pm: fix display count in non-DC path
      drm/amdgpu/pp: add missing byte swapping in process_pptables_v1_0.c
      drm/amdgpu/pp: fix endian swapping in atomctrl_get_voltage_range
      drm/amdgpu/pp: fix copy paste typo in smu7_init_dpm_defaults
      drm/amdgpu/pp: fix copy paste typo in smu7_get_pp_table_entry_callback_func_v1
      drm/amdgpu/sdma: simplify sdma instance setup
      drm/amdgpu/vce: simplify vce instance setup
      drm/amdgpu: update uvd_v6_0_ring_vm_funcs to use new nop packet
      drm/amdgpu: switch firmware path for CIK parts (v2)
      drm/amdgpu: switch firmware path for SI parts
      PCI: Export pcie_get_speed_cap and pcie_get_width_cap
      drm/amdgpu: update amd_pcie.h to include gen4 speeds
      drm/amdgpu: use pcie functions for link width and speed
      drm/radeon: use pcie functions for link width
      drm: drop drm_pcie_get_speed_cap_mask and drm_pcie_get_max_link_width

Andrey Grodzovsky (4):
      drm/amdgpu: Polish SQ IH.
      drm/amdgpu: Add parsing SQ_EDC_INFO to SQ IH v3.
      drm/scheduler: Rename cleanup functions v2.
      drm/amdgpu: Rename entity cleanup finctions.

Charlene Liu (2):
      drm/amd/display: Define dp_alt_mode
      drm/amd/display: add valid regoffset and NULL pointer check

Christian König (1):
      drm/amdgpu: band aid validating VM PTs

Dan Carpenter (1):
      drm/amd/display: off by one in find_irq_source_info()

Darren Powell (2):
      drm/amd: Remove errors from sphinx documentation
      drm/amd: Add sphinx documentation for amd_ip_funcs

David Francis (1):
      drm/amd/display: Add front end for dp debugfs files

Dirk Hohndel (VMware) (2):
      drm/amd: add SPDX identifier and clarify license
      drm/radeon: add SPDX identifier and clarify license

Dmytro Laktyushkin (23):
      drm/amd/display: replace clocks_value struct with dc_clocks
      drm/amd/display: redesign dce/dcn clock voltage update request
      drm/amd/display: rename display clock block to dccg
      drm/amd/display: move clock programming from set_bandwidth to dccg
      drm/amd/display: remove invalid assert when no max_pixel_clk is found
      drm/amd/display: get rid of cur_clks from dcn_bw_output
      drm/amd/display: move dcn1 dispclk programming to dccg
      drm/amd/display: clean up dccg divider calc and dcn constructor
      drm/amd/display: rename dce_disp_clk to dccg
      drm/amd/display: clean up set_bandwidth usage
      drm/amd/display: remove unnecessary pplib volage requests that are asserting
      drm/amd/display: fix dccg dcn1 ifdef
      drm/amd/display: fix pplib voltage request
      drm/amd/display: add CHG_DONE mash/sh defines for dentist
      drm/amd/display: change dentist DID enum values to uppercase
      drm/amd/display: add safe_to_lower support to dcn wm programming
      drm/amd/display: clean rq/dlg/ttu reg structs before calculations
      drm/amd/display: move dml defaults to respective dcn resource files
      drm/amd/display: fix dcn1 watermark range reporting
      drm/amd/display: remove dcn1 watermark sets b, c and d
      drm/amd/display: separate out wm change request dcn workaround
      drm/amd/display: move dcn watermark programming to set_bandwidth
      drm/amd/display: remove soc_bounding_box.c

Evan Quan (14):
      drm/amd/powerplay: correct vega12 bootup values settings
      drm/amd/powerplay: smc_dpm_info structure change
      drm/amd/powerplay: drop the acg fix
      drm/amd/powerplay: revise default dpm tables setup
      drm/amd/powerplay: retrieve all clock ranges on startup
      drm/amd/powerplay: revise clock level setup
      drm/amd/powerplay: initialize uvd/vce powergate status v4
      drm/amd/powerplay: correct smc display config for multi monitor
      drm/amd/powerplay: drop unnecessary uclk hard min setting
      drm/amd/powerplay: correct vega12 max num of dpm level
      drm/amd/powerplay: apply clocks adjust rules on power state change
      drm/amd/powerplay: set vega12 pre display configurations
      drm/amd/powerplay: correct vega12 thermal support as true
      drm/amd/powerplay: cosmetic fix

Flora Cui (1):
      drm/amdgpu: remove duplicated codes

Gustavo A. R. Silva (1):
      drm/amd/display/dc/dce: Fix multiple potential integer overflows

Harry Wentland (1):
      Revert "drm/amd/display: Fix indentation in dcn10 resource constructor"

Huang Rui (1):
      drm/amdgpu: fix the wrong type of gem object creation

Kees Cook (1):
      drm/amd/display: Use 2-factor allocator calls

Lyude Paul (4):
      drm/amdgpu: Make struct amdgpu_atif private to amdgpu_acpi.c
      drm/amdgpu: s/disp_detetion_ports/disp_detection_ports/
      drm/amdgpu: Add amdgpu_atpx_get_dhandle()
      drm/amdgpu: Dynamically probe for ATIF handle (v2)

Michel Dänzer (3):
      drm/amdgpu: Use gmc_vram_full_visible in vram_mgr_bo_invisible_size
      drm/amdgpu: Add AMDGPU_GPU_PAGES_IN_CPU_PAGE define
      drm/amdgpu: Remove amdgpu_gem_map_attach target_dev documentation

Mikita Lipski (12):
      drm/amd/display: Adding dm-pp clocks getting by voltage
      drm/amd/display: Apply clock for voltage request
      drm/amd/display: Adding Get static clocks for dm_pp interface
      drm/amd/display: Introduce pp-smu raven functions
      drm/amd/display: Use local structs instead of struct pointers
      drm/amd/display: Add clock types to applying clk for voltage
      drm/amd/display: Enable PPLib calls from DC on linux
      drm/amd/display: Add dmpp clks types for conversion
      drm/amd/display: Convert 10kHz clks from PPLib into kHz
      drm/amd/display: Moving powerplay functions to a separate class
      drm/amd/display: adding ycbcr420 pixel encoding for hdmi
      drm/amd/display: add a check for display depth validity

Nicolai Hähnle (1):
      drm/amdgpu: fix user fence write race condition

Rex Zhu (17):
      drm/amdgpu: Rename set_mmhub_powergating_by_smu to powergate_mmhub
      drm/amd/pp: Rename enable_per_cu_power_gating to powergate_gfx
      drm/amd/pp: Unify powergate_uvd/vce/mmhub to set_powergating_by_smu
      drm/amd/pp: Add gfx pg support in smu through set_powergating_by_smu
      drm/amd/pp: Add powergate_gfx backend function on Raven
      drm/amdgpu: Add gfx_off support in smu through pp_set_powergating_by_smu
      drm/amdgpu: Split set_pg_state into separate function
      drm/amdgpu: Move CG/PG setting out of delay worker thread
      drm/amd/display: Fix a typo in wm_min_memg_clk_in_khz
      drm/amd/pp: Convert clock unit to KHz as defined
      drm/amd/pp: Memory Latency is always 25us on Vega10
      drm/amd/pp: Refine the interface exported to display
      drm/amd/pp: Remove duplicate code in vega12_hwmgr.c
      drm/amd/pp: Export notify_smu_enable_pwe to display
      drm/amd/display: Refine the implementation of dm_pp_get_funcs_rv
      drm/amd/display: Fix copy error when set memory clocks
      drm/amd/pp: Remove the same struct define in powerplay

Roman Li (1):
      drm/amd/display: fix potential infinite loop in fbc path

Samson Tam (1):
      drm/amd/display: get board layout for edid emulation

Sonny Jiang (1):
      drm/amdgpu: update documentation for amdgpu_drv.c

Stefan Agner (1):
      drm/amd/display: don't initialize result

Thomas Zimmermann (1):
      drm/amd: Replace drm_dev_unref with drm_dev_put

Tom St Denis (1):
      drm/amd/amdgpu: Add a GPU_LOAD entry to sysfs (v3)

Tony Cheng (6):
      drm/amd/display: dal 3.1.48
      drm/amd/display: dal 3.1.49
      drm/amd/display: dal 3.1.50
      drm/amd/display: dal 3.1.51
      drm/amd/display: dal 3.1.52
      drm/amd/display: Allow option to use worst-case watermark

Wesley Chalmers (2):
      drm/amd/display: Temporarily remove Chroma logs
      drm/amd/display: fix use of uninitialized memory

Yongqiang Sun (2):
      drm/amd/display: Use tg count for opp init.
      drm/amd/display: Check scaling ration not viewports params.

Zheng, XueLai(Eric) (1):
      drm/amd/display: support ACrYCb2101010

rex zhu (7):
      drm/amd/display: Drop unnecessary header file
      drm/amd/display: Fix dm-pp clks type convert error
      drm/amdgpu: Add stutter mode ctrl in module parameter
      drm/amd/display: Ctrl stutter mode through module parameter
      drm/amd/pp: Switch the tolerable latency for display
      drm/amd/display: Notify powerplay the min_dcef clock
      drm/amd/display: Notify powerplay the display controller id

 Documentation/gpu/amdgpu.rst                       |   12 +
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   55 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c           |  131 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c   |   10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c            |    8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c            |   14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |  165 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c            |    7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h            |   14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |  241 ++++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c             |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c           |    8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h           |    2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c            |    6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c             |   12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c            |    5 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c             |    5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             |   50 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c          |    1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c           |    1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c            |   12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c            |   12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |   14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c       |    2 +-
 drivers/gpu/drm/amd/amdgpu/atom.c                  |    2 +-
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c                |   28 +-
 drivers/gpu/drm/amd/amdgpu/cik_sdma.c              |   36 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c              |   56 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c              |   72 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              |  120 ++-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              |    4 +
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c              |   14 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c              |    9 +-
 drivers/gpu/drm/amd/amdgpu/kv_dpm.c                |   15 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c            |    4 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c             |   12 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c             |   14 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c             |   23 +-
 drivers/gpu/drm/amd/amdgpu/si_dpm.c                |   25 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c              |    5 +-
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c              |    2 +-
 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c              |   10 +-
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c              |   24 +-
 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c              |   16 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/Makefile     |    4 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   61 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c  |  170 ++++
 .../amdgpu_dm_debugfs.h}                           |   13 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c   |  535 ++++++++++
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_services.c |  324 +-----
 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c  |  196 ++++
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c |  218 +++-
 .../gpu/drm/amd/display/dc/bios/command_table2.c   |   46 +-
 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c   |  194 ++--
 drivers/gpu/drm/amd/display/dc/core/dc.c           |    5 -
 drivers/gpu/drm/amd/display/dc/core/dc_debug.c     |   24 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      |   40 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c   |   11 +-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c  |    2 +-
 drivers/gpu/drm/amd/display/dc/dc.h                |    8 +-
 drivers/gpu/drm/amd/display/dc/dc_bios_types.h     |    4 +
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h       |    1 +
 .../gpu/drm/amd/display/dc/dce/dce_clock_source.c  |   10 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c    |  718 ++++++-------
 drivers/gpu/drm/amd/display/dc/dce/dce_clocks.h    |   93 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h     |    3 -
 .../amd/display/dc/dce100/dce100_hw_sequencer.c    |   49 +-
 .../drm/amd/display/dc/dce100/dce100_resource.c    |   16 +-
 .../drm/amd/display/dc/dce110/dce110_compressor.c  |    4 +-
 .../amd/display/dc/dce110/dce110_hw_sequencer.c    |  175 +---
 .../amd/display/dc/dce110/dce110_hw_sequencer.h    |    4 +
 .../drm/amd/display/dc/dce110/dce110_resource.c    |   16 +-
 .../drm/amd/display/dc/dce112/dce112_resource.c    |   24 +-
 .../drm/amd/display/dc/dce120/dce120_resource.c    |   20 +-
 .../gpu/drm/amd/display/dc/dce80/dce80_resource.c  |   28 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c   |    6 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c    |  362 ++++---
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.h    |    6 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c  |    2 +-
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  |  315 ++----
 .../drm/amd/display/dc/dcn10/dcn10_link_encoder.c  |    2 +
 .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c  |   76 +-
 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h         |    6 +-
 drivers/gpu/drm/amd/display/dc/dm_services_types.h |    6 +-
 drivers/gpu/drm/amd/display/dc/dml/Makefile        |    3 +-
 .../gpu/drm/amd/display/dc/dml/display_mode_lib.c  |   63 +-
 .../gpu/drm/amd/display/dc/dml/display_mode_lib.h  |    1 -
 .../drm/amd/display/dc/dml/display_mode_structs.h  |    3 +-
 .../gpu/drm/amd/display/dc/dml/soc_bounding_box.c  |   79 --
 drivers/gpu/drm/amd/display/dc/inc/core_types.h    |    7 +-
 drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h     |    2 +-
 .../gpu/drm/amd/display/dc/inc/hw/display_clock.h  |   43 +-
 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h  |    3 +-
 drivers/gpu/drm/amd/display/dc/irq/irq_service.c   |    2 +-
 .../gpu/drm/amd/display/include/grph_object_defs.h |   46 +
 .../gpu/drm/amd/display/include/grph_object_id.h   |   16 +
 .../drm/amd/display/modules/color/color_gamma.c    |    8 +-
 drivers/gpu/drm/amd/include/amd_pcie.h             |    2 +
 drivers/gpu/drm/amd/include/amd_shared.h           |   46 +-
 drivers/gpu/drm/amd/include/atomfirmware.h         |    5 +-
 drivers/gpu/drm/amd/include/dm_pp_interface.h      |   37 +-
 drivers/gpu/drm/amd/include/kgd_pp_interface.h     |   15 +-
 drivers/gpu/drm/amd/powerplay/amd_powerplay.c      |  100 +-
 .../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c  |    4 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c   |    8 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c |   96 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h |    5 +
 .../amd/powerplay/hwmgr/process_pptables_v1_0.c    |    8 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c  |   12 +-
 .../amd/powerplay/hwmgr/smu7_clockpowergating.c    |    2 +-
 .../amd/powerplay/hwmgr/smu7_clockpowergating.h    |    2 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c   |    6 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c   |   42 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h   |    2 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c |   56 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 1055 ++++++++++++--------
 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h |   13 +
 .../amd/powerplay/hwmgr/vega12_processpptables.c   |    6 +-
 .../gpu/drm/amd/powerplay/inc/hardwaremanager.h    |    2 +-
 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h          |    7 +-
 .../drm/amd/powerplay/inc/vega12/smu9_driver_if.h  |   23 +-
 drivers/gpu/drm/drm_pci.c                          |   58 --
 drivers/gpu/drm/etnaviv/etnaviv_drv.c              |    4 +-
 drivers/gpu/drm/radeon/ci_dpm.c                    |   20 +-
 drivers/gpu/drm/radeon/cik.c                       |   22 +-
 drivers/gpu/drm/radeon/r600_dpm.c                  |    4 +-
 drivers/gpu/drm/radeon/radeon.h                    |    4 +
 drivers/gpu/drm/radeon/radeon_test.c               |    1 +
 drivers/gpu/drm/radeon/si.c                        |   22 +-
 drivers/gpu/drm/radeon/si_dpm.c                    |   20 +-
 drivers/gpu/drm/scheduler/gpu_scheduler.c          |   18 +-
 drivers/gpu/drm/v3d/v3d_drv.c                      |    2 +-
 drivers/pci/pci.c                                  |    2 +
 include/drm/drm_pci.h                              |    7 -
 include/drm/gpu_scheduler.h                        |    6 +-
 include/linux/pci.h                                |    3 +
 137 files changed, 4229 insertions(+), 2873 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
 rename drivers/gpu/drm/amd/display/{dc/dml/soc_bounding_box.h => amdgpu_dm/amdgpu_dm_debugfs.h} (72%)
 create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dml/soc_bounding_box.c


More information about the dri-devel mailing list