Hi Dave, Simona, A few fixes for 6.12 and the drm dma-buf race fixes from Al Viro. The following changes since commit 7a199557643e993d4e7357860624b8aa5d8f4340: Revert "drm/amdgpu: align pp_power_profile_mode with kernel docs" (2024-09-05 14:27:41 -0400) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.12-2024-09-13 for you to fetch changes up to 0c8c5bdd7eaf291b6f727e98506fb68acee3a4cc: drm/amd/display: Add all planes on CRTC to state for overlay cursor (2024-09-11 10:34:05 -0400) ---------------------------------------------------------------- amd-drm-next-6.12-2024-09-13: amdgpu: - GPUVM sync fixes - kdoc fixes - Misc spelling mistakes - Add some raven GFXOFF quirks - Use clamp helper - DC fixes - JPEG fixes - Process isolation fix - Queue reset fix - W=1 cleanup - SMU14 fixes - JPEG fixes amdkfd: - Fetch cacheline info from IP discovery - Queue reset fix - RAS fix - Document SVM events - CRIU fixes - Race fix in dma-buf handling drm: - dma-buf fd race fixes ---------------------------------------------------------------- Al Viro (4): drm: new helper: drm_gem_prime_handle_to_dmabuf() drm/amdgpu: fix a race in kfd_mem_export_dmabuf() drm/amdkfd: CRIU fixes drm/amdgpu: get rid of bogus includes of fdtable.h Alex Deucher (1): drm/amdgpu/atomfirmware: Silence UBSAN warning Christian König (2): drm/amdgpu: re-work VM syncing drm/amdgpu: revert "use CPU for page table update if SDMA is unavailable" Colin Ian King (1): drm/amd/display: Fix spelling mistake "recompte" -> "recompute" Dan Carpenter (1): drm/amdgpu/mes11: Indent an if statment David (Ming Qiang) Wu (2): drm/amd/amdgpu: apply command submission parser for JPEG v2+ drm/amd/amdgpu: apply command submission parser for JPEG v1 David Belanger (1): drm/amdkfd: Add cache line size info Hawking Zhang (1): drm/amdkfd: Select reset method for poison handling Jani Nikula (1): drm/amdgpu: drop redundant W=1 warnings from Makefile Jesse Zhang (2): drm/amdgpu: fix queue reset issue by mmio drm/amdkfd: Fix resource leak in criu restore queue Jonathan Kim (1): drm/amdkfd: fix missed queue reset on queue destroy Kenneth Feng (2): drm/amd/pm: update the features set on smu v14.0.2/3 drm/amd/pm: fix the pp_dpm_pcie issue on smu v14.0.2/3 Lang Yu (1): drm/amdgpu: fix invalid fence handling in amdgpu_vm_tlb_flush Leo Li (2): drm/amd/display: Do not reset planes based on crtc zpos_changed drm/amd/display: Add all planes on CRTC to state for overlay cursor Li Zetao (2): drm/amd: use clamp() in amdgpu_pll_get_fb_ref_div() drm/amdgpu: use clamp() in amdgpu_vm_adjust_size() Lijo Lazar (1): drm/amdgpu: Normalize reg offsets on JPEG v4.0.3 Nicholas Susanto (1): drm/amd/display: Refactor dccg35_get_other_enabled_symclk_fe Peng Liu (2): drm/amdgpu: add raven1 gfxoff quirk drm/amdgpu: enable gfxoff quirk on HP 705G4 Philip Yang (1): drm/amdkfd: Document and define SVM events message macro Qili Lu (1): drm/amd/display: fix dccg root clock optimization related hang Ramesh Errabolu (1): drm/amdgpu: Surface svm_default_granularity, a RW module parameter Srinivasan Shanmugam (5): drm/amd/display: Add missing kdoc entry for 'bs_coeffs_updated' in dpp401_dscl_program_isharp drm/amdgpu/: Add missing kdoc entry in amdgpu_vm_handle_fault function drm/amdgpu: Replace 'amdgpu_job_submit_direct' with 'drm_sched_entity' in cleaner shader drm/amd/display: Add kdoc entry for 'program_isharp_1dlut' in 'dpp401_dscl_program_isharp' drm/amdgpu: Fix kdoc entry in 'amdgpu_vm_cpu_prepare' Tobias Jakobi (2): drm/amd/display: Avoid race between dcn10_set_drr() and dc_state_destruct() drm/amd/display: Avoid race between dcn35_set_drr() and dc_state_destruct() drivers/gpu/drm/amd/amdgpu/Makefile | 18 +--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 12 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 17 ++++ drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 35 ++++---- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 99 +++++++++++--------- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 11 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | 10 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 16 +--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 + drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c | 76 +++++++++++++++- drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.h | 11 +++ drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 63 ++++++++++++- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.h | 6 ++ drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 2 + drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 1 + drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c | 1 + drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.h | 1 - drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 93 ++++--------------- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.h | 7 +- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c | 1 + drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c | 3 +- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 64 +++++++++---- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 8 +- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 5 +- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 40 +++++++-- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 6 ++ .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 45 +++++----- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 22 +++-- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 13 ++- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +- .../gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.c | 79 +++++++--------- .../gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.h | 1 + .../amd/display/dc/dpp/dcn401/dcn401_dpp_dscl.c | 2 + .../drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 20 +++-- .../drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 24 +++-- drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h | 1 + drivers/gpu/drm/amd/include/atomfirmware.h | 4 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 11 ++- .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 12 +++ drivers/gpu/drm/drm_prime.c | 84 ++++++++++------- include/drm/drm_prime.h | 3 + include/uapi/linux/kfd_ioctl.h | 100 ++++++++++++++++++--- 50 files changed, 678 insertions(+), 366 deletions(-)