[pull] amdgpu, amdkfd, radeon drm-next-6.8
Alex Deucher
alexander.deucher at amd.com
Fri Dec 8 20:56:13 UTC 2023
Hi Dave, Sima,
More updates for 6.8.
The following changes since commit 5edfd7d94b0310b74136b666551f1d23711ed445:
Merge tag 'amd-drm-next-6.8-2023-12-01' of https://gitlab.freedesktop.org/agd5f/linux into drm-next (2023-12-05 12:11:41 +1000)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.8-2023-12-08
for you to fetch changes up to 47c4533543af4759b7668a06c1a2ce06cdc71173:
drm/amdgpu: Enable event log on MES 11 (2023-12-07 17:43:28 -0500)
----------------------------------------------------------------
amd-drm-next-6.8-2023-12-08:
amdgpu:
- SR-IOV fixes
- DCN 3.5 updates
- Backlight fixes
- MST fixes
- DMCUB fixes
- DPIA fixes
- Display powergating updates
- Enable writeback connectors
- Misc code cleanups
- Add more register state debugging for aquavanjaram
- Suspend fix
- Clockgating fixes
- SMU 14 updates
- PSR fixes
- MES logging updates
- Misc fixes
amdkfd:
- SVM fix
radeon:
- Fix potential memory leaks in error paths
----------------------------------------------------------------
Alex Deucher (2):
drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml
drm/amdgpu: fix buffer funcs setting order on suspend
Alex Hung (12):
drm/amd/display: Avoid virtual stream encoder if not explicitly requested
drm/amd/display: Initialize writeback connector
drm/amd/display: Check writeback connectors in create_validate_stream_for_sink
drm/amd/display: Hande writeback request from userspace
drm/amd/display: Add writeback enable/disable in dc
drm/amd/display: Fix writeback_info never got updated
drm/amd/display: Validate hw_points_num before using it
drm/amd/display: Fix writeback_info is not removed
drm/amd/display: Add writeback enable field (wb_enabled)
drm/amd/display: Setup for mmhubbub3_warmup_mcif with big buffer
drm/amd/display: Add new set_fc_enable to struct dwbc_funcs
drm/amd/display: Disable DWB frame capture to emulate oneshot
Alvin Lee (2):
drm/amd/display: Optimize fast validation cases
drm/amd/display: Use channel_width = 2 for vram table 3.0
Aric Cyr (1):
drm/amd/display: 3.2.263
Aurabindo Pillai (1):
drm/amd: Add a DC debug mask for DML2
Bokun Zhang (2):
drm/amd/amdgpu: Move vcn4 fw_shared init to a single function
drm/amd/amdgpu: SRIOV full reset issue with VCN
Charlene Liu (4):
drm/amd/display: initialize all the dpm level's stutter latency
drm/amd/display: insert drv-pmfw log + rollback to new context
drm/amd/display: revert removing otg toggle w/a back when no active display
drm/amd/display: keep domain24 power on if eDP not exist
Chris Park (1):
drm/amd/display: Update BIOS FW info table revision
Daniel Miess (1):
drm/amd/display: Add missing dcn35 RCO registers
Dennis Chan (1):
drm/amd/display: Fix Replay Desync Error IRQ handler
Dillon Varone (1):
drm/amd/display: Add dml2 copy functions
Dmitrii Galantsev (1):
drm/amd/pm: fix pp_*clk_od typo
George Shen (1):
drm/amd/display: Skip DPIA-specific DP LL automation flag for non-DPIA links
Hamza Mahfooz (1):
drm/amd/display: fix hw rotated modes when PSR-SU is enabled
Harry Wentland (7):
drm/amd/display: Skip entire amdgpu_dm build if !CONFIG_DRM_AMD_DC
drm/amd/display: Create one virtual connector in DC
drm/amd/display: Skip writeback connector when we get amdgpu_dm_connector
drm/amd/display: Return drm_connector from find_first_crtc_matching_connector
drm/amd/display: Use drm_connector in create_stream_for_sink
drm/amd/display: Create amdgpu_dm_wb_connector
drm/amd/display: Create fake sink and stream for writeback connector
Hawking Zhang (1):
drm/amdgpu: Update fw version for boot time error query
Ilya Bakoulin (1):
drm/amd/display: Fix MST PBN/X.Y value calculations
Ivan Lipski (1):
drm/amd/display: Add monitor patch for specific eDP
Jiadong Zhu (1):
drm/amdgpu: disable MCBP by default
Johnson Chen (1):
drm/amd/display: Fix null pointer
Josip Pavic (1):
drm/amd/display: Increase scratch buffer size
Krunoslav Kovac (1):
drm/amd/display: Change dither policy for 10bpc to round
Lewis Huang (1):
drm/amd/display: Pass pwrseq inst for backlight and ABM
Li Ma (1):
drm/amd/swsmu: update smu v14_0_0 driver if version and metrics table
Lijo Lazar (6):
drm/amdgpu: Read aquavanjaram WAFL register state
drm/amdgpu: Read aquavanjaram USR register state
drm/amdgpu: Restrict extended wait to PSP v13.0.6
drm/amdgpu: Add NULL checks for function pointers
drm/amdgpu: Update HDP 4.4.2 clock gating flags
drm/amdgpu: Avoid querying DRM MGCG status
Mario Limonciello (1):
drm/amd/display: Restore guard against default backlight value < 1 nit
Michael Strauss (1):
drm/amd/display: Only enumerate top local sink as DP2 output
Nicholas Kazlauskas (1):
drm/amd/display: Pass debug watermarks through to DCN35 DML2
Nicholas Susanto (1):
drm/amd/display: Fix disable_otg_wa logic
Relja Vojvodic (2):
drm/amd/display: Add ODM check during pipe split/merge validation
drm/amd/display: Added delay to DPM log
Rodrigo Siqueira (2):
drm/amd/display: Adjust code style
drm/amd/display: Update code comment to be more accurate
Roman Li (1):
drm/amd/display: Fix array-index-out-of-bounds in dml2
Tom St Denis (1):
drm/amd/amdgpu: Add SMUIO headers for 10.0.2
Wenjing Liu (1):
drm/amd/display: add support for DTO genarated dscclk
Xiaogang Chen (1):
drm/amdkfd: Use partial migrations/mapping for GPU/CPU page faults in SVM
Yang Wang (2):
drm/amd/pm: support new mca smu error code decoding
drm/amdgpu: optimize the printing order of error data
Yang Yingliang (1):
drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
Yihan Zhu (1):
drm/amd/display: add MPC MCM 1D LUT clock gating programming
Zhipeng Lu (2):
drm/radeon/dpm: fix a memleak in sumo_parse_power_table
drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table
shaoyunl (2):
drm/amdgpu: SW part of MES event log enablement
drm/amdgpu: Enable event log on MES 11
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 61 ++++
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 5 +
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 17 +
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c | 203 ++++++++++++
drivers/gpu/drm/amd/amdgpu/hdp_v4_0.c | 5 +
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 12 +-
drivers/gpu/drm/amd/amdgpu/soc15.c | 15 +-
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 48 +--
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 146 +++++----
drivers/gpu/drm/amd/amdkfd/kfd_migrate.h | 4 +
drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 176 +++++-----
drivers/gpu/drm/amd/amdkfd/kfd_svm.h | 9 +-
drivers/gpu/drm/amd/display/amdgpu_dm/Makefile | 14 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 359 +++++++++++++++++++--
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 10 +-
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 3 +
.../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 6 +
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 22 +-
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 +-
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c | 215 ++++++++++++
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.h | 36 +++
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 76 ++---
.../gpu/drm/amd/display/dc/bios/command_table2.c | 12 +-
.../gpu/drm/amd/display/dc/bios/command_table2.h | 2 +-
.../amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 26 +-
.../amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 25 +-
.../drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c | 43 ++-
drivers/gpu/drm/amd/display/dc/core/dc.c | 18 +-
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 +-
drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 80 ++++-
drivers/gpu/drm/amd/display/dc/dc.h | 10 +-
drivers/gpu/drm/amd/display/dc/dc_bios_types.h | 2 +-
drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 1 +
drivers/gpu/drm/amd/display/dc/dc_stream.h | 4 +
drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c | 8 +-
drivers/gpu/drm/amd/display/dc/dce/dmub_abm_lcd.c | 7 +-
drivers/gpu/drm/amd/display/dc/dce/dmub_abm_lcd.h | 2 +-
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dccg.h | 32 ++
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c | 12 +-
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dwb.c | 23 ++
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dwb.h | 2 +
.../gpu/drm/amd/display/dc/dcn30/dcn30_dwb_cm.c | 3 +
.../drm/amd/display/dc/dcn31/dcn31_panel_cntl.c | 5 +-
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c | 3 +-
.../amd/display/dc/dcn32/dcn32_resource_helpers.c | 26 ++
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dccg.c | 62 +++-
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dccg.h | 51 +++
drivers/gpu/drm/amd/display/dc/dml/Makefile | 4 +
.../amd/display/dc/dml/dcn30/display_mode_vba_30.c | 29 +-
.../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 3 +
.../gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 19 ++
.../drm/amd/display/dc/dml2/display_mode_core.c | 6 +-
.../amd/display/dc/dml2/dml2_translation_helper.c | 4 +-
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c | 11 +
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c | 29 +-
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h | 4 +
.../drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 16 +-
.../drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 3 +-
.../drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c | 36 ++-
.../drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c | 4 +
.../drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c | 3 +-
.../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 25 ++
.../drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 22 +-
drivers/gpu/drm/amd/display/dc/inc/hw/abm.h | 3 +-
drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h | 4 +
drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h | 4 +
drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h | 2 +
drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 40 ++-
drivers/gpu/drm/amd/display/dc/link/link_factory.c | 59 ++--
.../dc/link/protocols/link_dp_irq_handler.c | 18 +-
.../dc/link/protocols/link_dp_training_dpia.c | 4 +-
.../dc/link/protocols/link_edp_panel_control.c | 4 +-
.../amd/display/dc/resource/dcn10/dcn10_resource.c | 5 +-
.../amd/display/dc/resource/dcn30/dcn30_resource.c | 2 +
.../amd/display/dc/resource/dcn32/dcn32_resource.h | 2 +
.../amd/display/dc/resource/dcn35/dcn35_resource.c | 2 +-
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 14 +-
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 2 +-
drivers/gpu/drm/amd/include/amd_shared.h | 1 +
.../include/asic_reg/smuio/smuio_10_0_2_offset.h | 102 ++++++
.../include/asic_reg/smuio/smuio_10_0_2_sh_mask.h | 184 +++++++++++
drivers/gpu/drm/amd/include/kgd_pp_interface.h | 17 +
drivers/gpu/drm/amd/include/mes_v11_api_def.h | 1 +
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 +-
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 10 +
.../pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0_0.h | 77 +++--
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 9 +-
.../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c | 46 ++-
drivers/gpu/drm/radeon/radeon_display.c | 7 +-
drivers/gpu/drm/radeon/sumo_dpm.c | 4 +-
drivers/gpu/drm/radeon/trinity_dpm.c | 4 +-
97 files changed, 2299 insertions(+), 477 deletions(-)
create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c
create mode 100644 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.h
create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smuio/smuio_10_0_2_offset.h
create mode 100644 drivers/gpu/drm/amd/include/asic_reg/smuio/smuio_10_0_2_sh_mask.h
More information about the amd-gfx
mailing list