Hi Linus, This is the weekly fixes pull. Lots of small fixes across the board, one BUG_ON fix in shmem seems most important, otherwise amdgpu, i915, xe mostly with small fixes to all the other drivers. Dave. drm-fixes-2024-06-01: drm fixes for 6.10-rc2 shmem: - fix BUG_ON in COW handling - Warn when trying to pin imported objects buddy: - fix page size handling dma-buf: - sw-sync: Don't interfere with IRQ handling - Fix kthreads-handling error path i915: - Fix a race in audio component by registering it later - Make DPT object unshrinkable to avoid shrinking when framebuffer has not shrunk - Fix CCS id calculation to fix a perf regression - Fix selftest caching mode - Fix FIELD_PREP compiler warnings - Fix indefinite wait for GT wakeref release - Revert overeager multi-gt pm reference removal xe: - One pcode polling timeout change - One fix for deadlocks for faulting VMs - One error-path lock imbalance fix amdgpu: - RAS fix - Fix colorspace property for MST connectors - Fix for PCIe DPM - Silence UBSAN warning - GPUVM robustness fix - Partition fix - Drop deprecated I2C_CLASS_SPD amdkfd: - Revert unused changes for certain 11.0.3 devices - Simplify APU VRAM handling lima: - Fix dma_resv-related deadlock in object pin msm: - Remove build-time dependency on Python 3.9 nouveau: - nvif: Fix possible integer overflow panel: - lg-sw43408: Select DP helpers; Declare backlight ops as static - sitronix-st7789v: Various fixes for jt240mhqs_hwt_ek_e3 panel panfrost: - Fix dma_resv-related deadlock in object pin The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-06-01 for you to fetch changes up to a2ce3f7752bfbb47e659574fc2e1e6942bca3c29: Merge tag 'drm-misc-fixes-2024-05-30' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes (2024-05-31 11:51:20 +1000) ---------------------------------------------------------------- drm fixes for 6.10-rc2 shmem: - fix BUG_ON in COW handling - Warn when trying to pin imported objects buddy: - fix page size handling dma-buf: - sw-sync: Don't interfere with IRQ handling - Fix kthreads-handling error path i915: - Fix a race in audio component by registering it later - Make DPT object unshrinkable to avoid shrinking when framebuffer has not shrunk - Fix CCS id calculation to fix a perf regression - Fix selftest caching mode - Fix FIELD_PREP compiler warnings - Fix indefinite wait for GT wakeref release - Revert overeager multi-gt pm reference removal xe: - One pcode polling timeout change - One fix for deadlocks for faulting VMs - One error-path lock imbalance fix amdgpu: - RAS fix - Fix colorspace property for MST connectors - Fix for PCIe DPM - Silence UBSAN warning - GPUVM robustness fix - Partition fix - Drop deprecated I2C_CLASS_SPD amdkfd: - Revert unused changes for certain 11.0.3 devices - Simplify APU VRAM handling lima: - Fix dma_resv-related deadlock in object pin msm: - Remove build-time dependency on Python 3.9 nouveau: - nvif: Fix possible integer overflow panel: - lg-sw43408: Select DP helpers; Declare backlight ops as static - sitronix-st7789v: Various fixes for jt240mhqs_hwt_ek_e3 panel panfrost: - Fix dma_resv-related deadlock in object pin ---------------------------------------------------------------- Abhinav Kumar (1): drm/msm: remove python 3.9 dependency for compiling msm Adrián Larumbe (3): drm/panfrost: Fix dma_resv deadlock at drm object pin time drm/lima: Fix dma_resv deadlock at drm object pin time drm/gem-shmem: Add import attachment warning to locked pin function Alex Deucher (4): drm/amdgpu: Adjust logic in amdgpu_device_partner_bandwidth() drm/amdgpu: silence UBSAN warning Revert "drm/amdkfd: fix gfx_target_version for certain 11.0.3 devices" drm/amdkfd: simplify APU VRAM handling Andi Shyti (1): drm/i915/gt: Fix CCS id's calculation for CCS mode setting Arnd Bergmann (1): drm/i915/guc: avoid FIELD_PREP warning Chris Wilson (1): drm/i915/gt: Disarm breadcrumbs if engines are already idle Daniel Vetter (1): Merge tag 'drm-misc-fixes-2024-05-16' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next Dave Airlie (5): Merge tag 'drm-misc-fixes-2024-05-23' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes Merge tag 'drm-intel-fixes-2024-05-30' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes Merge tag 'drm-xe-fixes-2024-05-30' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes Merge tag 'amd-drm-fixes-6.10-2024-05-30' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-misc-fixes-2024-05-30' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes Dmitry Baryshkov (2): drm/panel/lg-sw43408: select CONFIG_DRM_DISPLAY_DP_HELPER drm/panel/lg-sw43408: mark sw43408_backlight_ops as static Fedor Pchelkin (1): dma-buf: handle testing kthreads creation failure Gerald Loacker (3): drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel Guenter Roeck (1): drm/nouveau/nvif: Avoid build error due to potential integer overflows Hawking Zhang (1): drm/amdgpu: correct hbm field in boot status Heiner Kallweit (1): drm/amd/pm: remove deprecated I2C_CLASS_SPD support from newly added SMU_14_0_2 Himal Prasad Ghimiray (1): drm/xe: Change pcode timeout to 50msec while polling again Imre Deak (1): drm/i915: Fix audio component initialization Janusz Krzysztofik (1): Revert "drm/i915: Remove extra multi-gt pm-references" Jesse Zhang (1): drm/amdgpu: fix dereference null return value for the function amdgpu_vm_pt_parent Maarten Lankhorst (1): Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes Mario Limonciello (1): drm/amd/display: Enable colorspace property for MST connectors Matthew Auld (2): drm/buddy: stop using PAGE_SIZE drm/tests/buddy: stop using PAGE_SIZE Matthew Brost (1): drm/xe: Only use reserved BCS instances for usm migrate exec queue Mohamed Ahmed (1): drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations Niranjana Vishwanathapura (1): drm/xe: Properly handle alloc_guc_id() failure Nirmoy Das (1): drm/i915/selftests: Set always_coherent to false when reading from CPU Rajneesh Bhardwaj (1): drm/amdgpu: Make CPX mode auto default in NPS4 Tetsuo Handa (1): dma-buf/sw-sync: don't enable IRQ from sync_print_obj() Vidya Srinivas (1): drm/i915/dpt: Make DPT object unshrinkable Wachowski, Karol (1): drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE) drivers/dma-buf/st-dma-fence.c | 6 ++++ drivers/dma-buf/sync_debug.c | 4 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 16 ++++----- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 19 ++++++---- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 6 +++- drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 11 ++---- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 6 ++-- drivers/gpu/drm/amd/amdkfd/kfd_svm.h | 1 - .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 3 ++ drivers/gpu/drm/amd/include/atomfirmware.h | 2 +- .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 1 - drivers/gpu/drm/drm_buddy.c | 2 +- drivers/gpu/drm/drm_gem_shmem_helper.c | 5 +++ drivers/gpu/drm/i915/display/intel_audio.c | 32 +++++++++++------ drivers/gpu/drm/i915/display/intel_audio.h | 1 + .../gpu/drm/i915/display/intel_display_driver.c | 2 ++ drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 18 ++++++++++ drivers/gpu/drm/i915/gem/i915_gem_object.h | 4 ++- .../gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c | 2 +- drivers/gpu/drm/i915/gt/intel_breadcrumbs.c | 15 ++++---- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 6 ++++ drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_types.h | 8 +++++ drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h | 6 ++-- drivers/gpu/drm/lima/lima_gem.c | 2 +- drivers/gpu/drm/msm/registers/gen_header.py | 5 +-- drivers/gpu/drm/nouveau/nvif/object.c | 24 +++++++++---- drivers/gpu/drm/panel/Kconfig | 2 ++ drivers/gpu/drm/panel/panel-lg-sw43408.c | 2 +- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 16 ++++----- drivers/gpu/drm/panfrost/panfrost_gem.c | 2 +- drivers/gpu/drm/tests/drm_buddy_test.c | 42 +++++++++++----------- drivers/gpu/drm/xe/xe_guc_submit.c | 1 + drivers/gpu/drm/xe/xe_migrate.c | 12 +++---- drivers/gpu/drm/xe/xe_pcode.c | 2 +- include/drm/drm_buddy.h | 6 ++-- 39 files changed, 186 insertions(+), 114 deletions(-)