Hi Linus, Weekly drm fixes, mostly amdgpu and xe. The larger amdgpu fix is for a new IP block introduced in rc1, so should be fine. The xe fixes contain some missed fixes from the end of the previous round along with some fixes which required precursor changes, but otherwise everything seems fine, Dave. drm-fixes-2024-08-16: drm fixes for 6.11-rc4 mediatek: - fix cursor crash amdgpu: - Fix MES ring buffer overflow - DCN 3.5 fix - DCN 3.2.1 fix - DP MST fix - Cursor fixes - JPEG fixes - Context ops validation - MES 12 fixes - VCN 5.0 fix - HDP fix panel: - dt bindings style fix - orientation quirks rockchip: - inno-hdmi: fix infoframe upload v3d: - fix OOB access in v3d_csd_job_run() xe: - Validate user fence during creation - Fix use after free when client stats are captured - SRIOV fixes - Runtime PM fixes The following changes since commit 7c626ce4bae1ac14f60076d00eafe71af30450ba: Linux 6.11-rc3 (2024-08-11 14:27:14 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-08-16 for you to fetch changes up to fee9d135e2fd5963a7f466cd1ef2060731a1ab29: Merge tag 'mediatek-drm-fixes-20240805' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-fixes (2024-08-16 13:16:47 +1000) ---------------------------------------------------------------- drm fixes for 6.11-rc4 mediatek: - fix cursor crash amdgpu: - Fix MES ring buffer overflow - DCN 3.5 fix - DCN 3.2.1 fix - DP MST fix - Cursor fixes - JPEG fixes - Context ops validation - MES 12 fixes - VCN 5.0 fix - HDP fix panel: - dt bindings style fix - orientation quirks rockchip: - inno-hdmi: fix infoframe upload v3d: - fix OOB access in v3d_csd_job_run() xe: - Validate user fence during creation - Fix use after free when client stats are captured - SRIOV fixes - Runtime PM fixes ---------------------------------------------------------------- Alex Bee (1): drm/rockchip: inno-hdmi: Fix infoframe upload Alex Deucher (2): drm/amdgpu/jpeg2: properly set atomics vmid field drm/amdgpu/jpeg4: properly set atomics vmid field AngeloGioacchino Del Regno (1): drm/mediatek: Set sensible cursor width/height values to fix crash Bas Nieuwenhuizen (1): drm/amdgpu: Actually check flags for all context ops. Bouke Sybren Haarsma (2): drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero drm: panel-orientation-quirks: Add quirk for Ayn Loki Max Dave Airlie (4): Merge tag 'amd-drm-fixes-6.11-2024-08-14' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-misc-fixes-2024-08-15' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes Merge tag 'drm-xe-fixes-2024-08-15' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes Merge tag 'mediatek-drm-fixes-20240805' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-fixes David (Ming Qiang) Wu (1): drm/amd/amdgpu: command submission parser for JPEG Douglas Anderson (1): dt-bindings: display: panel: samsung,atna45dc02: Fix indentation Fangzhi Zuo (1): drm/amd/display: Fix MST BW calculation Regression Hamza Mahfooz (1): drm/amd/display: fix s2idle entry for DCN3.5+ Jack Xiao (9): drm/amdgpu/mes: fix mes ring buffer overflow drm/amdgpu/mes12: update mes_v12_api_def.h drm/amdgpu/mes: add multiple mes ring instances support drm/amdgpu/mes12: load unified mes fw on pipe0 and pipe1 drm/amdgpu/mes12: add mes pipe switch support drm/amdgpu/mes12: adjust mes12 sw/hw init for multiple pipes drm/amdgpu/mes12: configure two pipes hardware resources drm/amdgpu/mes12: sw/hw fini for unified mes drm/amdgpu/mes12: fix suspend issue Kenneth Feng (1): drm/amd/amdgpu: add HDP_SD support on gc 12.0.0/1 Loan Chen (1): drm/amd/display: Enable otg synchronization logic for DCN321 Matthew Brost (5): drm/xe: Validate user fence during creation drm/xe: Build PM into GuC CT layer drm/xe: Add xe_gt_tlb_invalidation_fence_init helper drm/xe: Drop xe_gt_tlb_invalidation_wait drm/xe: Hold a PM ref when GT TLB invalidations are inflight Maíra Canal (1): drm/v3d: Fix out-of-bounds read in `v3d_csd_job_run()` Melissa Wen (1): drm/amd/display: fix cursor offset on rotation 180 Michal Wajdeczko (2): drm/xe/vf: Fix register value lookup drm/xe/pf: Fix VF config validation on multi-GT platforms Rodrigo Siqueira (1): drm/amd/display: Adjust cursor position Umesh Nerlige Ramappa (4): drm/xe: Move part of xe_file cleanup to a helper drm/xe: Add ref counting for xe_file drm/xe: Take a ref to xe file when user creates a VM drm/xe: Fix use after free when client stats are captured Yinjie Yao (1): drm/amdgpu: Update kmd_fw_shared for VCN5 .../bindings/display/panel/samsung,atna33xc20.yaml | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 8 + drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 26 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 83 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 16 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 27 +- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c | 63 ++++- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.h | 7 +- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c | 1 + drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 59 ++-- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 296 +++++++++++---------- drivers/gpu/drm/amd/amdgpu/soc15d.h | 6 + drivers/gpu/drm/amd/amdgpu/soc24.c | 2 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 + .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 33 ++- .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.h | 3 + .../drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 4 +- .../display/dc/resource/dcn321/dcn321_resource.c | 3 + drivers/gpu/drm/amd/include/mes_v12_api_def.h | 7 +- drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 4 +- drivers/gpu/drm/rockchip/inno_hdmi.c | 4 +- drivers/gpu/drm/v3d/v3d_sched.c | 14 +- drivers/gpu/drm/xe/xe_device.c | 59 +++- drivers/gpu/drm/xe/xe_device.h | 3 + drivers/gpu/drm/xe/xe_device_types.h | 3 + drivers/gpu/drm/xe/xe_drm_client.c | 5 +- drivers/gpu/drm/xe/xe_exec_queue.c | 10 +- drivers/gpu/drm/xe/xe_exec_queue_types.h | 7 +- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 11 +- drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 2 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 201 +++++++------- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h | 12 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation_types.h | 4 + drivers/gpu/drm/xe/xe_guc_ct.c | 10 +- drivers/gpu/drm/xe/xe_guc_submit.c | 4 + drivers/gpu/drm/xe/xe_pt.c | 26 +- drivers/gpu/drm/xe/xe_sync.c | 12 +- drivers/gpu/drm/xe/xe_vm.c | 38 +-- 47 files changed, 699 insertions(+), 426 deletions(-)