Hi Dave, Sima, Fixes for 6.7. Mostly fixes for new IPs. Also including a revert of the unexport of the currently unused prime helpers for fd/handle conversion since amdgpu will use them in 6.8 so I see no reason to remove them only to re-add them again in 6.8. The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab: Linux 6.7-rc3 (2023-11-26 19:59:33 -0800) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.7-2023-11-30 for you to fetch changes up to 0514f63cfff38a0dcb7ba9c5f245827edc0c5107: Revert "drm/prime: Unexport helpers for fd/handle conversion" (2023-11-30 14:46:04 -0500) ---------------------------------------------------------------- amd-drm-fixes-6.7-2023-11-30: amdgpu: - DMUB fix - DCN 3.5 fixes - XGMI fix - DCN 3.2 fixes - Vangogh suspend fix - NBIO 7.9 fix - GFX11 golden register fix - Backlight fix - NBIO 7.11 fix - IB test overflow fix - DCN 3.1.4 fixes - fix a runtime pm ref count - Retimer fix - ABM fix - DCN 3.1.5 fix - Fix AGP addressing - Fix possible memory leak in SMU error path - Make sure PME is enabled in D3 - Fix possible NULL pointer dereference in debugfs - EEPROM fix - GC 9.4.3 fix amdkfd: - IP version check fix - Fix memory leak in pqm_uninit() drm: - Revert unexport of prime helpers for fd/handle conversion ---------------------------------------------------------------- Alex Deucher (1): drm/amdgpu: fix AGP addressing when GART is not at 0 Alex Sierra (1): drm/amdgpu: Force order between a read and write to the same address Alvin Lee (3): drm/amd/display: Include udelay when waiting for INBOX0 ACK drm/amd/display: Use DRAM speed from validation for dummy p-state drm/amd/display: Increase num voltage states to 40 Camille Cho (1): drm/amd/display: Simplify brightness initialization Candice Li (1): drm/amdgpu: Update EEPROM I2C address for smu v13_0_0 Dinghao Liu (1): drm/amd/pm: fix a memleak in aldebaran_tables_init Dmytro Laktyushkin (1): drm/amd/display: update dcn315 lpddr pstate latency Felix Kuehling (1): Revert "drm/prime: Unexport helpers for fd/handle conversion" Hamza Mahfooz (1): drm/amd/display: fix ABM disablement Hawking Zhang (1): drm/amdgpu: Do not issue gpu reset from nbio v7_9 bif interrupt Ilya Bakoulin (1): drm/amd/display: Fix MPCC 1DLUT programming Jonathan Kim (1): drm/amdgpu: update xgmi num links info post gc9.4.2 Li Ma (1): drm/amdgpu: add init_registers for nbio v7.11 Lijo Lazar (1): drm/amdgpu: Use another offset for GC 9.4.3 remap Lu Yao (1): drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer Mario Limonciello (1): drm/amd: Enable PCIe PME from D3 Michael Strauss (1): drm/amd/display: Do not read DPREFCLK spread info from LUT on DCN35 Mukul Joshi (1): drm/amdkfd: Use common function for IP version check Nicholas Kazlauskas (8): drm/amd/display: Add z-state support policy for dcn35 drm/amd/display: Update DCN35 watermarks drm/amd/display: Add Z8 watermarks for DML2 bbox overrides drm/amd/display: Feed SR and Z8 watermarks into DML2 for DCN35 drm/amd/display: Remove min_dst_y_next_start check for Z8 drm/amd/display: Update min Z8 residency time to 2100 for DCN314 drm/amd/display: Update DCN35 clock table policy drm/amd/display: Allow DTBCLK disable for DCN35 Perry Yuan (1): drm/amdgpu: optimize RLC powerdown notification on Vangogh Prike Liang (1): drm/amdgpu: correct the amdgpu runtime dereference usage count Sung Joon Kim (1): drm/amd/display: Fix black screen on video playback with embedded panel Taimur Hassan (3): drm/amd/display: Remove config update drm/amd/display: Fix conversions between bytes and KB drm/amd/display: Fix some HostVM parameters in DML Tim Huang (1): drm/amdgpu: fix memory overflow in the IB test Wenjing Liu (1): drm/amd/display: fix a pipe mapping error in dcn32_fpu ZhenGuo Yin (1): drm/amdkfd: Free gang_ctx_bo and wptr_bo in pqm_uninit Zhongwei (1): drm/amd/display: force toggle rate wa for first link training for a retimer drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 10 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 4 +- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 10 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 4 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_11.c | 18 +-- drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c | 5 - drivers/gpu/drm/amd/amdgpu/soc15.c | 5 + drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 +- .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 54 ++++--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 +- .../amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 8 +- .../amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 159 ++++++++++----------- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 4 - .../drm/amd/display/dc/dcn314/dcn314_resource.c | 2 +- .../gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c | 10 ++ .../gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 9 +- drivers/gpu/drm/amd/display/dc/dml/dc_features.h | 2 +- .../gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 15 +- .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 23 +-- .../gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 84 ++++++++++- .../gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.h | 2 + .../drm/amd/display/dc/dml2/display_mode_core.c | 16 +-- .../amd/display/dc/dml2/dml2_translation_helper.c | 60 +++++--- drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h | 2 + .../drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 6 +- .../gpu/drm/amd/display/dc/link/link_detection.c | 2 +- drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 3 +- .../link_dp_training_fixed_vs_pe_retimer.c | 6 +- .../dc/link/protocols/link_edp_panel_control.c | 16 +-- .../dc/link/protocols/link_edp_panel_control.h | 1 - drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c | 1 + .../drm/amd/include/asic_reg/gc/gc_11_0_0_offset.h | 2 + .../amd/include/asic_reg/nbio/nbio_7_11_0_offset.h | 2 + .../include/asic_reg/nbio/nbio_7_11_0_sh_mask.h | 29 ++++ drivers/gpu/drm/amd/include/kgd_pp_interface.h | 1 + drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 18 +++ drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 + drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 10 ++ drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 5 + drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 5 +- drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 5 +- drivers/gpu/drm/amd/pm/swsmu/smu_internal.h | 1 + drivers/gpu/drm/drm_prime.c | 33 +++-- include/drm/drm_prime.h | 7 + 54 files changed, 464 insertions(+), 249 deletions(-)