[pull] amdgpu, amdkfd drm-next-5.3

Alex Deucher alexdeucher at gmail.com
Wed May 29 22:09:44 UTC 2019


Hi Dave, Daniel,

New stuff for 5.3:
- Add new thermal sensors for vega asics
- Various RAS fixes
- Add sysfs interface for memory interface utilization
- Use HMM rather than mmu notifier for user pages
- Expose xgmi topology via kfd
- SR-IOV fixes
- Fixes for manual driver reload
- Add unique identifier for vega asics
- Clean up user fence handling with UVD/VCE/VCN blocks
- Convert DC to use core bpc attribute rather than a custom one
- Add GWS support for KFD
- Vega powerplay improvements
- Add CRC support for DCE 12
- SR-IOV support for new security policy
- Various cleanups

The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

  Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the Git repository at:

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

for you to fetch changes up to cf401e2856b27b2deeada498eab864e2a50cf219:

  drm/amdkfd: fix null pointer dereference on dev (2019-05-29 16:50:09 -0500)

----------------------------------------------------------------
Alex Deucher (3):
      drm/amdgpu/vega20: use mode1 reset for RAS and XGMI
      drm/amdgpu: use pcie_bandwidth_available rather than open coding it
      drm/amdgpu/soc15: skip reset on init

Amber Lin (1):
      drm/amdkfd: Add domain number into gpu_id

Anthony Koo (1):
      drm/amd/display: fix multi display seamless boot case

Aric Cyr (5):
      drm/amd/display: 3.2.28
      drm/amd/display: 3.2.29
      drm/amd/display: 3.2.30
      drm/amd/display: Use VCP for extended colorimetry
      drm/amd/display: 3.2.31

Bhawanpreet Lakha (1):
      drm/amd/powerplay: Fix maybe-uninitialized in get_ppfeature_status

Charlene Liu (5):
      drm/amd/display: add SW_USE_I2C_REG request.
      drm/amd/display: color space ycbcr709 support
      drm/amd/display: reset retimer/redriver below 340Mhz
      drm/amd/display: define v_total_min and max parameters
      drm/amd/display: enabling stream after HPD low to high happened

Chengming Gui (2):
      drm/amd/powerplay: Enable "disable dpm" feature to support swSMU debug (v2)
      drm/amd/powerplay: Fix code error for translating int type to bool type correctly

Chris Park (2):
      drm/amd/display: Support AVI InfoFrame V3 and V4
      drm/amd/display: Define Byte 14 on AVI InfoFrame

Christian König (2):
      drm/amdgpu: rename amdgpu_prime.[ch] into amdgpu_dma_buf.[ch]
      drm/amdgpu: remove static GDS, GWS and OA allocation

Chunming Zhou (1):
      drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to amdgpu

Colin Ian King (2):
      drm/amdgpu: fix spelling mistake "retrived" -> "retrieved"
      drm/amdkfd: fix null pointer dereference on dev

Dmytro Laktyushkin (4):
      drm/amd/display: move signal type out of otg dlg params
      drm/amd/display: stop external access to internal optc sync params
      drm/amd/display: fix acquire_first_split_pipe function
      drm/amd/display: add null checks and set update flags

Emily Deng (2):
      drm/amdgpu: fix unload driver fail
      drm/amdgpu: Need to set the baco cap before baco reset

Eric Yang (2):
      drm/amd/display: Set dispclk and dprefclock directly
      drm/amd/display: move back vbios cmd table for set dprefclk

Evan Quan (26):
      drm/amd/powerplay: support hotspot/memory critical limit values
      drm/amd/powerplay: support temperature emergency max values
      drm/amd/powerplay: support SMU metrics table on Vega12
      drm/amd/powerplay: expose current hotspot and memory temperatures V2
      drm/amd/powerplay: support hwmon temperature channel labels V2
      drm/amd/powerplay: expose Vega12 current power
      drm/amd/powerplay: expose Vega12 current gpu activity
      drm/amd/powerplay: expose Vega20 realtime memory utilization
      drm/amd/powerplay: expose Vega12 realtime memory utilization
      drm/amd/powerplay: expose SMU7 asics realtime memory utilization
      drm/amdgpu: add new sysfs interface for memory realtime utilization
      drm/amdgpu: enable separate timeout setting for every ring type V4
      drm/amd/powerplay: fix Vega10 mclk/socclk voltage link setup
      drm/amd/powerplay: valid Vega10 DPMTABLE_OD_UPDATE_VDDC settings V2
      drm/amd/powerplay: avoid repeat AVFS enablement/disablement
      drm/amd/powerplay: update Vega10 power state on OD
      drm/amd/powerplay: force to update all clock tables on OD reset
      drm/amd/powerplay: update Vega10 ACG Avfs Gb parameters
      drm/amd/powerplay: drop unnecessary sw smu check
      drm/amd/powerplay: drop redundant smu call
      drm/amd/powerplay: support ppfeatures sysfs interface on sw smu routine
      drm/amd/powerplay: honor hw limit on fetching metrics data
      drm/amd/powerplay: support uclk activity retrieve on sw smu routine
      drm/amd/powerplay: support sw smu hotspot and memory temperature retrieval
      drm/amd/powerplay: fix sw SMU wrong UVD/VCE powergate setting
      drm/amd/powerplay: enable ppfeaturemask module parameter support on Vega20

Felix Kuehling (3):
      drm/amdgpu: Reserve shared fence for eviction fence
      drm/amdgpu: Improve error handling for HMM
      drm/amdkfd: Fix a circular lock dependency

Harish Kasiviswanathan (1):
      drm/amdkfd: Fix compute profile switching

Harry Wentland (3):
      drm/amd/display: Add ASICREV_IS_PICASSO
      drm/amd/display: Don't load DMCU for Raven 1 (v2)
      drm/amd/display: Drop DCN1_01 guards

James Zhu (3):
      drm/amdgpu: add EDC counter register
      drm/amdgpu: add gfx9 gpr EDC workaround when RAS is enabled
      drm/amdgpu: Fix S3 test issue

Jay Cornwall (4):
      drm/amdkfd: Fix gfx8 MEM_VIOL exception handler
      drm/amdkfd: Preserve wave state after instruction fetch MEM_VIOL
      drm/amdkfd: Fix gfx9 XNACK state save/restore
      drm/amdkfd: Preserve ttmp[4:5] instead of ttmp[14:15]

Jonathan Kim (1):
      drm/amdgpu: add df perfmon regs and funcs for xgmi

Joshua Aberback (2):
      drm/amd/display: Program VTG params after programming Global Sync
      drm/amd/display: Rename EDID_BLOCK_SIZE to DC_EDID_BLOCK_SIZE

Jun Lei (2):
      drm/amd/display: add support for disconnected eDP panels
      drm/amd/display: dont set  otg offset

Kent Russell (6):
      drm/amdgpu: Add replay counter defines to NBIO headers
      drm/amdgpu: Add PCIe replay count sysfs file
      drm/amdgpu: Fix CIK references in gmc_v8
      drm/amdkfd: Cosmetic cleanup
      drm/amdkfd: Add VegaM support
      drm/amdgpu: Add Unique Identifier sysfs file unique_id v2

Kevin Wang (1):
      drm/amd/powerplay: add helper function to get smu firmware & if version

Leo (Hanghong) Ma (1):
      drm/amd/display: Expose send immediate sdp message interface

Leo Liu (7):
      drm/amdgpu: add no_user_fence flag to ring funcs
      drm/amdgpu/UVD: set no_user_fence flag to true
      drm/amdgpu/VCE: set no_user_fence flag to true
      drm/amdgpu/VCN: set no_user_fence flag to true
      drm/amdgpu: check no_user_fence flag for engines
      drm/amdgpu: move the VCN DPG mode read and write to VCN
      drm/amdgpu: make VCN DPG pause mode detached from general VCN

Monk Liu (1):
      drm/amdgpu: suppress repeating tmo report

Nicholas Kazlauskas (6):
      drm/amd/display: Fill prescale_params->scale for RGB565
      drm/amd/display: Disable cursor when offscreen in negative direction
      drm/amd/display: Hook up CRC capture support for dce120
      drm/amd/display: Explicitly specify update type per plane info change
      drm/amd/display: Switch the custom "max bpc" property to the DRM prop
      drm/amd/display: Use new connector state when getting color depth

Oak Zeng (26):
      drm/amdgpu: Remap hdp coherency registers
      drm/amdkfd: Expose HDP registers to user space
      drm/amdkfd: Use 64 bit sdma_bitmap
      drm/amdkfd: Add sdma allocation debug message
      drm/amdkfd: Differentiate b/t sdma_id and sdma_queue_id
      drm/amdkfd: Shift sdma_engine_id and sdma_queue_id in mqd
      drm/amdkfd: Introduce asic-specific mqd_manager_init function
      drm/amdkfd: Introduce DIQ type mqd manager
      drm/amdkfd: Init mqd managers in device queue manager init
      drm/amdkfd: Add mqd size in mqd manager struct
      drm/amdkfd: Allocate MQD trunk for HIQ and SDMA
      drm/amdkfd: Fix a potential memory leak
      drm/amdkfd: Move non-sdma mqd allocation out of init_mqd
      drm/amdkfd: Allocate hiq and sdma mqd from mqd trunk
      drm/amdkfd: Fix sdma queue map issue
      drm/amdkfd: Introduce XGMI SDMA queue type
      drm/amdkfd: Expose sdma engine numbers to topology
      drm/amdkfd: Delete alloc_format field from map_queue struct
      drm/amdkfd: Use kfd fd to mmap mmio
      drm/amdkfd: Add gws number to kfd topology node properties
      drm/amdgpu: Add interface to alloc gws from amdgpu
      drm/amdkfd: Allocate gws on device initialization
      drm/amdgpu: Add function to add/remove gws to kfd process
      drm/amdkfd: Add function to set queue gws
      drm/amdkfd: New IOCTL to allocate queue GWS
      drm/amdkfd: PM4 packets change to support GWS

Ori Messinger (1):
      drm/amdgpu: Report firmware versions with sysfs v2

Paul Hsieh (1):
      drm/amd/display: Disable ABM before destroy ABM struct

Philip Yang (7):
      drm/amdgpu: use HMM callback to replace mmu notifier
      drm/amdkfd: avoid HMM change cause circular lock
      drm/amdgpu: replace get_user_pages with HMM mirror helpers
      drm/amdgpu: fix HMM config dependency issue
      drm/amdkfd: support concurrent userptr update for HMM
      drm/amdgpu: support userptr cross VMAs case with HMM
      drm/amdgpu: more descriptive message if HMM not enabled

Roman Li (1):
      drm/amd/display: Fill plane attrs only for valid pxl format

Samson Tam (1):
      drm/amd/display: block passive dongle EDID Emulation for USB-C ports

SivapiriyanKumarasamy (1):
      drm/amd/display: Remove DPMS state dependency for fast boot

Slava Abramov (1):
      drm/amdgpu: use div64_ul for 32-bit compatibility v1

Tiecheng Zhou (1):
      drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStE

Tom St Denis (3):
      drm/amd/amdgpu: Add MEM_LOAD to amdgpu_pm_info debugfs file
      drm/amd/doc: Add XGMI sysfs documentation
      drm/amd/doc: Add RAS documentation to guide

Trigger Huang (9):
      drm/amdgpu: init vega10 SR-IOV reg access mode
      drm/amdgpu: initialize PSP before IH under SR-IOV
      drm/amdgpu: Add new PSP cmd GFX_CMD_ID_PROG_REG
      drm/amdgpu: implement PSP cmd GFX_CMD_ID_PROG_REG
      drm/amdgpu: call psp to program ih cntl in SR-IOV
      drm/amdgpu: Support PSP VMR ring for Vega10 VF
      drm/amdgpu: Skip setting some regs under Vega10 VF
      drm/amdgpu: add basic func for RLC program reg
      drm/amdgpu: RLC to program regs for Vega10 SR-IOV

Vitaly Prosyak (1):
      drm/amd/display: Reuse MPC OGRAM for 1D blender

Wang Hai (1):
      drm/amd/display: Make some functions static

Weitao Hou (1):
      gpu: fix typos in code comments

Wesley Chalmers (2):
      drm/amd/display: Engine-specific encoder allocation
      drm/amd/display: Use DCN functions instead of DCE

Yogesh Mohan Marimuthu (1):
      drm/amdgpu: sort probed modes before adding common modes

Yong Zhao (1):
      drm/amdkfd: Move sdma_queue_id calculation into allocate_sdma_queue()

Yongqiang Sun (1):
      drm/amd/display: Refactor program watermark.

shaoyunl (4):
      drm/amdgpu: Implement get num of hops between two xgmi device
      drm/amdkfd: Adjust weight to represent num_hops info when report xgmi iolink
      drm/amdgpu: Update latest xgmi topology info after each device is enumulated
      drm/amdgpu: Use heavy weight for tlb invalidation on xgmi configuration

xinhui pan (14):
      drm/amdgpu: gpu reset will run late_init
      drm/amdgpu: Revert "drm/amdgpu: skip gpu reset when ras error occured"
      drm/amdgpu: Issue ras TA disable/enable cmd forcely on boot
      drm/amdgpu: handle ras reset
      drm/amdgpu: gmc support ras gpu reset
      drm/amdgpu: gfx support ras gpu reset
      drm/amdgpu: sdma support ras gpu reset
      drm/amdgpu: gpu reset will run ras post init
      drm/amdgpu: add badpages sysfs interafce
      drm/amdgpu: ras support suspend/resume
      drm/amdgpu: enable ras suspend/resume
      drm/amdgpu: gmc handle ras resume
      drm/amdgpu: gfx handle ras resume
      drm/amdgpu: sdma handle ras resume

 Documentation/gpu/amdgpu.rst                       |  20 +
 drivers/gpu/drm/amd/amdgpu/Kconfig                 |   7 +-
 drivers/gpu/drm/amd/amdgpu/Makefile                |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |  29 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         |  70 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c  |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c  |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c  |  83 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   | 225 ++++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c        |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h        |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c             | 144 +++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         | 133 +++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c        |   4 -
 .../amdgpu/{amdgpu_prime.c => amdgpu_dma_buf.c}    | 131 +++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.h        |  46 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h            |  14 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |  96 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c          |  35 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gds.h            |  21 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c            |  14 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h            |  16 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c            |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c            |  11 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c             | 185 ++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h             |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h           |   2 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c             | 254 ++++++++++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |  28 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h            |  37 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c            | 232 +++++++++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h            |  11 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h           |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            | 289 ++++++------
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h            |  16 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c          |  63 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h          |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c            | 130 +-----
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h            |  23 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c           |  44 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h           |  13 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c           |  81 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h           |   3 +-
 drivers/gpu/drm/amd/amdgpu/cik.c                   |  13 +
 drivers/gpu/drm/amd/amdgpu/df_v3_6.c               | 428 ++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/df_v3_6.h               |  17 +
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c              |  32 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              |  32 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              | 424 ++++++++++++++----
 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c           |  20 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c              |  14 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c              |  35 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c            |  25 +-
 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c              |  21 +-
 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c             |  15 +-
 drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c             |  15 +-
 drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h            |   8 +
 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c              | 131 ++++--
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c             |  43 +-
 drivers/gpu/drm/amd/amdgpu/si.c                    |  13 +
 drivers/gpu/drm/amd/amdgpu/soc15.c                 |  92 +++-
 drivers/gpu/drm/amd/amdgpu/soc15.h                 |  10 +
 drivers/gpu/drm/amd/amdgpu/soc15_common.h          |  68 ++-
 drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c              |   1 +
 drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c              |   1 +
 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c              |   3 +
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c              |   2 +
 drivers/gpu/drm/amd/amdgpu/vce_v2_0.c              |   1 +
 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c              |   2 +
 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c              |   1 +
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c              | 135 +++++-
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c             |  91 +++-
 drivers/gpu/drm/amd/amdgpu/vi.c                    |  13 +
 drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h     | 483 ++++++++++-----------
 .../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx8.asm  |  13 -
 .../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm  |  63 +--
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |  83 +++-
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c              |  12 +-
 drivers/gpu/drm/amd/amdkfd/kfd_crat.h              |   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_device.c            |  65 ++-
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  | 378 +++++++++-------
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h  |  14 +-
 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c  |   2 +
 .../drm/amd/amdkfd/kfd_device_queue_manager_v9.c   |   1 +
 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c   |   2 +
 drivers/gpu/drm/amd/amdkfd/kfd_events.c            |   2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c       |   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c      |   6 +-
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c   |   5 +-
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c   |   4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c       |  70 +--
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h       |   8 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c   |  53 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c    |  85 ++--
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    |  55 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c    |   4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h    |  14 +-
 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h    |   7 +-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  31 +-
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |  71 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c          |  18 +-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.h          |   3 +
 drivers/gpu/drm/amd/display/Kconfig                |   6 -
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  94 ++--
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h  |   1 -
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c |   2 +
 .../amd/display/dc/bios/command_table_helper2.c    |   5 -
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  95 ++--
 .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c  |  29 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      |  37 +-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c  | 130 ++----
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c    |  51 +--
 drivers/gpu/drm/amd/display/dc/dc.h                |   5 +-
 drivers/gpu/drm/amd/display/dc/dc_helper.c         |   2 +-
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h       |   1 +
 drivers/gpu/drm/amd/display/dc/dc_link.h           |   1 +
 drivers/gpu/drm/amd/display/dc/dc_types.h          |   2 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c       |   2 +
 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c   |  78 +++-
 drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.h   |  23 +
 .../gpu/drm/amd/display/dc/dce/dce_clock_source.c  |   4 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c    |   7 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.h    |   3 +
 .../drm/amd/display/dc/dce/dce_stream_encoder.c    |   1 +
 .../drm/amd/display/dc/dce100/dce100_resource.c    |  44 +-
 .../drm/amd/display/dc/dce100/dce100_resource.h    |   5 +
 .../amd/display/dc/dce110/dce110_hw_sequencer.c    |  97 ++---
 .../drm/amd/display/dc/dce110/dce110_resource.c    |  40 +-
 .../drm/amd/display/dc/dce110/dce110_resource.h    |   5 +
 .../display/dc/dce110/dce110_timing_generator.c    |   5 +
 .../display/dc/dce110/dce110_timing_generator.h    |   5 +
 .../display/dc/dce110/dce110_timing_generator_v.c  |   5 +
 .../drm/amd/display/dc/dce112/dce112_resource.c    |   3 +-
 .../drm/amd/display/dc/dce120/dce120_resource.c    |   9 +-
 .../display/dc/dce120/dce120_timing_generator.c    |  96 +++-
 .../gpu/drm/amd/display/dc/dce80/dce80_resource.c  |   3 +-
 .../amd/display/dc/dce80/dce80_timing_generator.c  |   7 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_clk_mgr.c   |  78 +++-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c    | 430 +++++++++---------
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.h    |  16 +
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  |  55 ++-
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h  |   2 +
 .../drm/amd/display/dc/dcn10/dcn10_link_encoder.c  |   2 +
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c  | 152 ++++---
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h  |  20 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c  |  91 ++--
 .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.h  |   5 +
 .../amd/display/dc/dcn10/dcn10_stream_encoder.c    | 107 ++++-
 .../amd/display/dc/dcn10/dcn10_stream_encoder.h    |  22 +
 drivers/gpu/drm/amd/display/dc/dm_pp_smu.h         |   2 +-
 .../drm/amd/display/dc/dml/display_mode_structs.h  |   5 +
 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c   |   4 -
 drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c |   5 -
 drivers/gpu/drm/amd/display/dc/inc/core_types.h    |  25 ++
 drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h    |   8 +-
 .../gpu/drm/amd/display/dc/inc/hw/link_encoder.h   |   1 +
 .../gpu/drm/amd/display/dc/inc/hw/stream_encoder.h |   7 +-
 .../drm/amd/display/dc/inc/hw/timing_generator.h   |  25 +-
 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h  |   5 +
 .../drm/amd/display/include/bios_parser_types.h    |   3 +-
 drivers/gpu/drm/amd/display/include/dal_asic_id.h  |  10 +-
 drivers/gpu/drm/amd/display/include/dal_types.h    |   2 -
 .../gpu/drm/amd/display/include/set_mode_types.h   |   5 +-
 .../drm/amd/display/modules/color/color_gamma.c    |  56 ++-
 .../drm/amd/display/modules/color/color_gamma.h    |   1 +
 .../amd/display/modules/info_packet/info_packet.c  |   4 +-
 .../drm/amd/include/asic_reg/df/df_3_6_offset.h    |  18 +
 .../drm/amd/include/asic_reg/gc/gc_9_0_offset.h    |  31 ++
 .../drm/amd/include/asic_reg/nbio/nbio_6_1_smn.h   |   3 +
 .../drm/amd/include/asic_reg/nbio/nbio_7_0_smn.h   |   3 +
 .../drm/amd/include/asic_reg/nbio/nbio_7_4_0_smn.h |   3 +
 drivers/gpu/drm/amd/include/cik_structs.h          |   3 +-
 drivers/gpu/drm/amd/include/kgd_kfd_interface.h    |   1 +
 drivers/gpu/drm/amd/include/kgd_pp_interface.h     |  11 +
 drivers/gpu/drm/amd/include/v9_structs.h           |   3 +-
 drivers/gpu/drm/amd/include/vi_structs.h           |   3 +-
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c         |  76 ++--
 .../gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c  |  18 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c   |   5 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 156 ++++++-
 .../amd/powerplay/hwmgr/vega10_processpptables.c   |  24 +
 .../amd/powerplay/hwmgr/vega10_processpptables.h   |   1 +
 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 123 ++++--
 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h |   3 +
 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c |  84 +++-
 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h     |  12 +-
 drivers/gpu/drm/amd/powerplay/inc/power_state.h    |   7 +
 drivers/gpu/drm/amd/powerplay/inc/pp_thermal.h     |  12 +-
 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h      |   3 +
 drivers/gpu/drm/amd/powerplay/inc/smumgr.h         |   1 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c          | 191 ++++++--
 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c   |   2 +
 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c |   2 +
 .../gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c  |   2 +
 .../drm/amd/powerplay/smumgr/polaris10_smumgr.c    |   2 +
 .../gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c    |   2 +
 .../gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c   |  21 +
 .../gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c    |   2 +
 drivers/gpu/drm/amd/powerplay/vega20_ppt.c         | 153 +++++++
 drivers/gpu/drm/amd/powerplay/vega20_ppt.h         |  44 ++
 include/uapi/linux/kfd_ioctl.h                     |  35 +-
 202 files changed, 6445 insertions(+), 2477 deletions(-)
 rename drivers/gpu/drm/amd/amdgpu/{amdgpu_prime.c => amdgpu_dma_buf.c} (93%)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.h


More information about the amd-gfx mailing list