mbox series

[pull] amdgpu, amdkfd drm-next-6.13

Message ID 20241106163904.189108-1-alexander.deucher@amd.com (mailing list archive)
State New
Headers show
Series [pull] amdgpu, amdkfd drm-next-6.13 | expand

Pull-request

https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.13-2024-11-06

Message

Alex Deucher Nov. 6, 2024, 4:39 p.m. UTC
Hi Dave, Simona,

Last few updates for 6.13.

The following changes since commit dac64cb3e029e9ae9ca251798bcb9cdb118d68d5:

  drm/amdgpu: Fix amdgpu_ip_block_hw_fini() (2024-10-24 18:07:10 -0400)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.13-2024-11-06

for you to fetch changes up to f5d873f5825b40d886d03bd2aede91d4cf002434:

  drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read() (2024-11-05 10:35:59 -0500)

----------------------------------------------------------------
amd-drm-next-6.13-2024-11-06:

amdgpu:
- Misc cleanups
- OLED fixes
- DCN 4.x fixes
- DCN 3.5 fixes
- 8K fixes
- IPS fixes
- DSC fixes
- S3 fix
- KASAN fix
- SMU13 fixes
- fdinfo fixes
- USB-C fixes
- ACPI fix
- Fix dummy page overlapping mappings
- Fix workload profile handling
- Add user control for zero RPM on SMU13
- Cleaner shader updates
- Stop syncing PRT map operations
- Debugfs permissions fixes
- Debugfs bounds check fix
- RAS cleanups
- Enforce isolation updates

amdkfd:
- Add topology cap flag for per queue reset
- Add an interface to query whether KFD queues are present
- Use dynamic allocation for get_cu_occupancy

----------------------------------------------------------------
Alex Deucher (8):
      drm/amdgpu/smu13: fix profile reporting
      drm/amdkfd: add an interface to query whether is KFD is active
      drm/amdgpu: fix fairness in enforce isolation handling
      drm/amdgpu: add ring reset messages
      drm/amdgpu/mes: fetch fw version from firmware header
      drm/amdgpu: Adjust debugfs register access permissions
      drm/amdgpu: Adjust debugfs eviction and IB access permissions
      drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()

Alex Hung (2):
      drm/amd/display: Remove useless assignments and variables
      drm/amd/display: Simplify dcn35_is_ips_supported()

Antonio Quartulli (1):
      drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported

Aric Cyr (2):
      drm/amd/display: 3.2.307
      drm/amd/display: 3.2.308

Aurabindo Pillai (3):
      drm/amd/display: Fix idle optimizations entry log
      drm/amd/display: parse umc_info or vram_info based on ASIC
      drm/amd/display: Add a missing DCN401 reg definition

Ausef Yousof (3):
      Revert "drm/amd/display: Block UHBR Based On USB-C PD Cable ID"
      drm/amd/display: Remove hw w/a toggle if on DP2/HPO
      drm/amd/display: Remove otg w/a toggling on HPO interfaces

Austin Zheng (1):
      drm/amd/display: Do Not Fallback To SW Cursor If HW Cursor Required

Boyuan Zhang (1):
      drm/amd/pm: add inst to dpm_set_vcn_enable

Candice Li (1):
      drm/amdgpu: Add nps_mode in RAS init_flag

Charlene Liu (1):
      drm/amd/display: avoid divided by zero

Christian König (2):
      drm/amdgpu: drop volatile from ring buffer
      drm/amdgpu: stop syncing PRT map operations

Dillon Varone (1):
      drm/amd/display: Add P-State Stall Timeout Recovery Support for dcn401

Dominik Kaszewski (1):
      drm/amd/display: fix rxstatus_msg_sz type narrowing

Dr. David Alan Gilbert (3):
      drm/amd/display: Remove unused regamma functions
      drm/amd/display: Remove unused cm3_helper_translate_curve_to_degamma_hw_format
      drm/amd/display: Remove last parts of timing_trace

Fangzhi Zuo (2):
      drm/amd/display: Reduce HPD Detection Interval for IPS
      drm/amd/display: Prune Invalid Modes For HDMI Output

Hansen Dsouza (1):
      drm/amd/display: Add a boot option to reduce phy ssc for HBR3

Ilya Bakoulin (1):
      drm/amd/display: Minimize wait for pending updates

Jesse Zhang (2):
      drm/amdgpu: add amdgpu_gfx_sched_mask and amdgpu_compute_sched_mask debugfs
      drm/amdgpu: add amdgpu_sdma_sched_mask debugfs

Jonathan Kim (1):
      drm/amdkfd: flag per-queue reset support for gfx9

Joshua Aberback (1):
      drm/amd/display: Change MPC Tree visual confirm colours

Kaitlyn Tse (1):
      drm/amd/display: Implement new backlight_level_params structure

Kenneth Feng (2):
      drm/amd/pm: always pick the pptable from IFWI
      drm/amd/pm: correct the workload setting

Le Ma (1):
      drm/amdgpu: add generic func to check if ta fw is applicable

Leo Ma (1):
      drm/amd/display: Fix underflow when playing 8K video in full screen mode

Li Huafei (1):
      drm/amdgpu: Fix the memory allocation issue in amdgpu_discovery_get_nps_info()

Lijo Lazar (4):
      drm/amdgpu: Group gfx sysfs functions
      drm/amdgpu: Skip IP coredump for RAS errors
      drm/amdgpu: Add compatible NPS mode info
      drm/amdgpu: Fix DPX valid mode check on GC 9.4.3

Lohita Mudimela (1):
      drm/amd/display: Refactoring if and endif statements to enable DC_LOGGER

Nicholas Kazlauskas (1):
      drm/amd/display: Remove inaccessible registers from DMU diagnostics

Ovidiu Bunea (3):
      drm/amd/display: Optimize power up sequence for specific OLED
      Revert "drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerationFinal DCN35"
      drm/amd/display: Do not read DSC state if not in use

Prike Liang (4):
      drm/amdgpu: correct the S3 abort check condition
      drm/amdgpu: clean up the suspend_complete
      drm/amdgpu: Fix dummy_read_page overlapping mappings
      drm/amdgpu: set the right AMDGPU sg segment limitation

R Sundar (1):
      drm/amdgpu: use string choice helpers

Samson Tam (4):
      drm/amd/display: fix handling of max_downscale_src_width fail check in SPL
      drm/amd/display: store sharpness 1dlut table in dscl_prog_data
      drm/amd/display: fix asserts in SPL during bootup
      drm/amd/display: SPL cleanup

Srinivasan Shanmugam (2):
      drm/amdkfd: Use dynamic allocation for CU occupancy array in 'kfd_get_cu_occupancy()'
      drm/amdgpu/gfx11: Add cleaner shader for GFX11.0.3

Taimur Hassan (2):
      drm/amd/display: [FW Promotion] Release 0.0.240.0
      drm/amd/display: [FW Promotion] Release 0.0.241.0

Tom Chung (1):
      drm/amd/display: Fix brightness level not retained over reboot

Tvrtko Ursulin (3):
      drm/amd/pm: Vangogh: Fix kernel memory out of bounds write
      drm/amdgpu: Stop reporting special chip memory pools as CPU memory in fdinfo
      drm/amdgpu: Expose special on chip memory pools in fdinfo

Victor Zhao (1):
      drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov

Wayne Lin (1):
      drm/amd/display: Don't write DP_MSTM_CTRL after LT

Wolfgang Müller (2):
      drm/amd/pm: add zero RPM OD setting support for SMU13
      drm/amd/pm: add zero RPM stop temperature OD setting support for SMU13

Yang Wang (1):
      drm/amdgpu: optimize ACA log print

Yunxiang Li (2):
      drm/amdgpu: make drm-memory-* report resident memory
      drm/amdgpu: stop tracking visible memory stats

jeffbai@aosc.io (1):
      drm/amdgpu: fix comment about amdgpu.abmlevel defaults

 Documentation/gpu/amdgpu/thermal.rst               |  12 +
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c           |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         |   9 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |   7 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c        |  13 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c      |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c         |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c         |  23 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c           |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c            | 234 +++++++++++++++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h            |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c            |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c            |  21 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c            |   5 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h            |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c         |  24 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h         |  11 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |  37 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c            |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c           |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h           |  11 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c           |  70 +++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h           |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h          |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h             |  11 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h            |   1 +
 drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c         |  13 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c             |   5 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c             |  21 +-
 .../drm/amd/amdgpu/gfx_v11_0_3_cleaner_shader.asm  | 118 ++++++++
 .../gpu/drm/amd/amdgpu/gfx_v11_0_cleaner_shader.h  |  56 ++++
 drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c             |   4 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              |   8 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c            |   5 -
 drivers/gpu/drm/amd/amdgpu/soc15.c                 |  28 +-
 drivers/gpu/drm/amd/amdgpu/soc21.c                 |   5 +-
 drivers/gpu/drm/amd/amdgpu/ta_ras_if.h             |   9 +
 drivers/gpu/drm/amd/amdkfd/kfd_device.c            |  25 ++
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           |   9 +-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c          |   2 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  57 ++--
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c |  10 +-
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c |   4 +-
 .../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c   |   5 +-
 .../amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c |   6 +-
 .../amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c   |  25 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  13 +-
 drivers/gpu/drm/amd/display/dc/core/dc_debug.c     |  82 +++---
 .../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c  |   4 +-
 .../gpu/drm/amd/display/dc/core/dc_link_exports.c  |   5 +-
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c    |  10 +-
 drivers/gpu/drm/amd/display/dc/dc.h                |   8 +-
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c       |   1 -
 drivers/gpu/drm/amd/display/dc/dc_spl_translate.c  |  14 +-
 drivers/gpu/drm/amd/display/dc/dc_types.h          |  28 ++
 .../drm/amd/display/dc/dce/dce_stream_encoder.c    |   2 -
 .../drm/amd/display/dc/dce110/dce110_mem_input_v.c |   2 -
 .../gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c | 151 ----------
 .../display/dc/dio/dcn10/dcn10_stream_encoder.c    |   2 -
 .../dc/dio/dcn401/dcn401_dio_stream_encoder.c      |   2 -
 .../dc/dml2/dml21/dml21_translation_helper.c       |   2 +-
 .../dc/dml2/dml21/inc/dml_top_dchub_registers.h    |   1 +
 .../dml21/src/dml2_core/dml2_core_dcn4_calcs.c     |   3 +
 drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c  |   1 +
 .../amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c    |   3 +-
 .../drm/amd/display/dc/dwb/dcn30/dcn30_cm_common.h |   4 -
 .../drm/amd/display/dc/hubbub/dcn10/dcn10_hubbub.h |   9 +-
 .../amd/display/dc/hubbub/dcn401/dcn401_hubbub.c   |  12 +
 .../amd/display/dc/hubbub/dcn401/dcn401_hubbub.h   |   8 +-
 .../drm/amd/display/dc/hwss/dce110/dce110_hwseq.c  |   9 +-
 .../drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c    |  16 +-
 .../drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.h    |   2 +
 .../drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c    |  49 ++++
 .../drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.h    |   3 +-
 .../gpu/drm/amd/display/dc/hwss/dcn31/dcn31_init.c |   2 +-
 .../drm/amd/display/dc/hwss/dcn314/dcn314_init.c   |   2 +-
 .../gpu/drm/amd/display/dc/hwss/dcn32/dcn32_init.c |   2 +-
 .../drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c    |  16 +-
 .../gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c |   2 +-
 .../drm/amd/display/dc/hwss/dcn351/dcn351_init.c   |   2 +-
 .../drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c  |   5 +
 .../drm/amd/display/dc/hwss/dcn401/dcn401_init.c   |   2 +-
 drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer.h |   5 -
 drivers/gpu/drm/amd/display/dc/inc/core_status.h   |   2 +
 drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h   |   1 +
 drivers/gpu/drm/amd/display/dc/inc/link.h          |   3 +-
 drivers/gpu/drm/amd/display/dc/link/link_dpms.c    |  15 +-
 .../display/dc/link/protocols/link_dp_capability.c |  25 +-
 .../dc/link/protocols/link_edp_panel_control.c     |  17 +-
 .../dc/link/protocols/link_edp_panel_control.h     |   3 +-
 .../amd/display/dc/resource/dcn10/dcn10_resource.c |   2 -
 .../amd/display/dc/resource/dcn20/dcn20_resource.c |   1 -
 .../display/dc/resource/dcn201/dcn201_resource.c   |   1 -
 .../amd/display/dc/resource/dcn21/dcn21_resource.c |   1 -
 .../amd/display/dc/resource/dcn30/dcn30_resource.c |   1 -
 .../display/dc/resource/dcn301/dcn301_resource.c   |   1 -
 .../display/dc/resource/dcn302/dcn302_resource.c   |   1 -
 .../display/dc/resource/dcn303/dcn303_resource.c   |   1 -
 .../amd/display/dc/resource/dcn31/dcn31_resource.c |   1 -
 .../display/dc/resource/dcn314/dcn314_resource.c   |   1 -
 .../display/dc/resource/dcn315/dcn315_resource.c   |   1 -
 .../display/dc/resource/dcn316/dcn316_resource.c   |   1 -
 .../amd/display/dc/resource/dcn32/dcn32_resource.c |   1 -
 .../display/dc/resource/dcn321/dcn321_resource.c   |   1 -
 .../amd/display/dc/resource/dcn35/dcn35_resource.c |   1 -
 .../display/dc/resource/dcn351/dcn351_resource.c   |   1 -
 .../display/dc/resource/dcn401/dcn401_resource.c   |   1 -
 .../display/dc/resource/dcn401/dcn401_resource.h   |   4 +-
 drivers/gpu/drm/amd/display/dc/spl/dc_spl.c        | 102 ++++---
 .../drm/amd/display/dc/spl/dc_spl_isharp_filters.h |   1 -
 drivers/gpu/drm/amd/display/dc/spl/dc_spl_types.h  |   7 +-
 .../gpu/drm/amd/display/dc/spl/spl_fixpt31_32.c    |  34 +--
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h        |   1 +
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h    |  63 ++++-
 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c  |   6 +-
 .../gpu/drm/amd/display/include/logger_interface.h |   4 -
 .../drm/amd/display/modules/color/color_gamma.c    | 307 ---------------------
 .../drm/amd/display/modules/color/color_gamma.h    |  11 -
 .../drm/amd/display/modules/freesync/freesync.c    |   3 +
 .../drm/amd/display/modules/hdcp/hdcp2_execution.c |  31 +--
 .../amd/include/asic_reg/dcn/dcn_4_1_0_sh_mask.h   |   2 +
 drivers/gpu/drm/amd/include/kgd_pp_interface.h     |   4 +
 drivers/gpu/drm/amd/pm/amdgpu_pm.c                 | 127 +++++++++
 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h            |   4 +
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c          |  55 +++-
 drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h      |   6 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h       |   2 +
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h       |   3 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h       |   3 +-
 drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c  |   9 +-
 drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c    |   9 +-
 .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c    |   9 +-
 drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c   |  12 +-
 drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c    |   8 +-
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c     |   3 +-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c   | 124 ++++++++-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c   |   4 +-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   | 113 +++++++-
 .../gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c   |   4 +-
 drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c     |   3 +-
 .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c   |  74 +----
 drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c             |   8 +
 drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h             |   2 +
 include/uapi/linux/kfd_sysfs.h                     |   3 +-
 149 files changed, 1683 insertions(+), 1020 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v11_0_3_cleaner_shader.asm
 create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v11_0_cleaner_shader.h