[git pull] drm fixes for 7.2 final
Dave Airlie <[email protected]>
| Newsgroups | org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAPM=9tz9+VhERCnDCCiFw3_FF_-C5ygQMUVQTcozjwdVRS7Ppw@mail.gmail.com> |
Hi Linus
While this is large for rc8 time but also AI driven fixes is a lot of
it, we had a more traditional screw up, and a regression was just
found in the fair scheduling patches that went in back in rc1. This
reverts the fair scheduler back to an option and sets the default back
to what it should have been. We might have been a bit overly zealous
in switching over, but at least it feels more normal than the AI
driven fixes.
Apart from the scheduler, it's mostly amdgpu and xe fixes, with some
misc fixes to the log code and connector code.
Dave
drm-fixes-2026-08-15:
drm fixes for 7.2 final:
scheduler:
- revert fair scheduler patches due to regression
- mark fair as experimental
connector:
- fix OOB read in hdmi audio infoframe
log:
- fix divide by 0 if module param is set to 0
- fix OOB read on empty message
- fix infinite loop for too large scale
xe:
- Fix DPT Allocation paths
- Fixes around UM queue BO
- Order ring writes before ring tail updates
- Add termination on resume for PXP
- Document Sentinel and make CTX_TIMESTAMP read TOCTOU-safe
- Fix sync entry leak on OA config emit failure
- Check managed mutex initilization errors
- Fix min frequency setting
- Fix xe_device_probe error path
amdgpu:
- Bounds checking fix in CS IOCTL
- Bounds checking fix in GEM IOCTL
- Display fixes
- GPUVM fix
- ASPM fix
- UVD bounds checking fixes
- VCE 3 fix
- BT.2020 fixes
- NBIF 6.3.1 fix
- IP discovery fix
radeon:
- Runtime pm fix
amdxdna:
- skip attempting to populate unmapped pages
The following changes since commit db2ddb87143519e20a95aa36c60b36107b736a58:
Linux 7.2-rc7 (2026-08-09 14:54:50 -0700)
are available in the Git repository at:
https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2026-08-15
for you to fetch changes up to b2601e783a2e54f6963d65f0d94f96d96c146a3a:
Merge tag 'drm-xe-fixes-2026-08-13' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
(2026-08-14 15:41:40 +1000)
----------------------------------------------------------------
drm fixes for 7.2 final:
scheduler:
- revert fair scheduler patches due to regression
- mark fair as experimental
connector:
- fix OOB read in hdmi audio infoframe
log:
- fix divide by 0 if module param is set to 0
- fix OOB read on empty message
- fix infinite loop for too large scale
xe:
- Fix DPT Allocation paths
- Fixes around UM queue BO
- Order ring writes before ring tail updates
- Add termination on resume for PXP
- Document Sentinel and make CTX_TIMESTAMP read TOCTOU-safe
- Fix sync entry leak on OA config emit failure
- Check managed mutex initilization errors
- Fix min frequency setting
- Fix xe_device_probe error path
amdgpu:
- Bounds checking fix in CS IOCTL
- Bounds checking fix in GEM IOCTL
- Display fixes
- GPUVM fix
- ASPM fix
- UVD bounds checking fixes
- VCE 3 fix
- BT.2020 fixes
- NBIF 6.3.1 fix
- IP discovery fix
radeon:
- Runtime pm fix
amdxdna:
- skip attempting to populate unmapped pages
----------------------------------------------------------------
Alex Deucher (1):
drm/amdgpu: fix missing check in vm_flush()
Candice Li (1):
drm/amdgpu: validate GEM_CREATE domain combinations
Daniele Ceraolo Spurio (1):
drm/xe/pxp: add termination on resume
Dave Airlie (3):
Merge tag 'amd-drm-fixes-7.2-2026-08-12' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-misc-fixes-2026-08-13' of
https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
Merge tag 'drm-xe-fixes-2026-08-13' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
David Rosca (6):
drm/amdgpu: Reject UVD message with dimensions above 4096
drm/amdgpu: Fix UVD dpb min size calculation for H264
drm/amdgpu: Fix UVD decode image min size calculation
drm/amdgpu: Fix UVD min buffer sizes
drm/amdgpu: Implement insert_end for VCE 3
drm/amdgpu: Reject UVD message with invalid number of h265 refs
Gajendra Uttamchand (1):
drm/xe/lrc: document sentinel and make CTX_TIMESTAMP read TOCTOU-safe
Guangshuo Li (1):
drm/radeon: fix autosuspend cleanup during teardown
Jia Yao (3):
drm/xe/guc_ads: allocate UM queues in a separate BO
drm/xe/guc_ads: allocate UM queues in VRAM on dGFX
drm/xe/guc_ads: use uncached mapping for UM queue BO
John Harrison (1):
drm/connector/hdmi: Fix out of bounds memory read
Junrui Luo (1):
drm/amdgpu: disallow multiple FENCE chunks in one submit
Lijo Lazar (1):
drm/amdgpu: Prefer default discovery offset
Linmao Li (2):
drm/xe/oa: Fix sync entry leak on OA config emit failure
drm/xe/oa: Check managed mutex initialization errors
Lizhi Hou (1):
accel/amdxdna: Skip unmapped range in aie2_populate_range()
Maarten Lankhorst (2):
Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes
drm/xe: Fix DPT allocation paths.
Matthew Brost (1):
drm/xe: Order ring writes before ring tail updates
Nathan Lucas (2):
drm/amd/display: fix BT.2020 YCbCr limited output CSC matrix
drm/amd/display: fix BT.2020 YCbCr output CSC matrices for DCE
Raag Jadav (1):
drm/xe: Fix xe_device_probe() failure
Samuel Pitoiset (1):
drm/amd/display: Fix NULL pointer dereference in
amdgpu_dm_crtc_set_vblank()
Shixiong Ou (3):
drm/log: Fix division by zero when scale module parameter is 0
drm/log: Fix out-of-bounds read on empty message length
drm/log: Fix infinite loop when scale is too large for display
Tvrtko Ursulin (19):
Revert "drm/sched: Remove drm_sched_init_args->num_rqs"
Revert "drm/xe: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/v3d: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/sched: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/panthor: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/panfrost: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/nouveau: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/msm: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/lima: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/imagination: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/etnaviv: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/amdgpu: Remove drm_sched_init_args->num_rqs usage"
Revert "accel/ethosu: Remove drm_sched_init_args->num_rqs usage"
Revert "accel/rocket: Remove drm_sched_init_args->num_rqs usage"
Revert "accel/amdxdna: Remove drm_sched_init_args->num_rqs usage"
Revert "drm/sched: Embed run queue singleton into the scheduler"
Revert "drm/sched: Remove FIFO and RR and simplify to a single run queue"
Revert "drm/sched: Switch default policy to fair"
drm/sched: Mark fair policy as experimental
Vinay Belgaumkar (1):
drm/xe: Fix a bug in pc_adjust_freq_bounds()
Yang Wang (2):
drm/amdgpu: check ASPM on the dGPU host link
drm/amdgpu: fix nbif 6.3.1 l1 low power not functional
drivers/accel/amdxdna/aie2_ctx.c | 17 +++
drivers/accel/ethosu/ethosu_job.c | 1 +
drivers/accel/rocket/rocket_job.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 10 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 51 ++++++-
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 13 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 21 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 27 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 8 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 85 +++--------
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 8 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 8 +-
drivers/gpu/drm/amd/amdgpu/nbif_v6_3_1.c | 42 +++---
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 26 +++-
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 2 +-
.../gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 31 ++--
drivers/gpu/drm/amd/display/dc/dce/dce_transform.c | 7 +-
.../drm/amd/display/dc/dce110/dce110_opp_csc_v.c | 7 +-
drivers/gpu/drm/clients/drm_log.c | 12 ++
drivers/gpu/drm/display/drm_hdmi_state_helper.c | 3 +-
drivers/gpu/drm/etnaviv/etnaviv_sched.c | 1 +
drivers/gpu/drm/imagination/pvr_queue.c | 1 +
drivers/gpu/drm/lima/lima_sched.c | 1 +
drivers/gpu/drm/msm/msm_gem_vma.c | 1 +
drivers/gpu/drm/msm/msm_ringbuffer.c | 1 +
drivers/gpu/drm/nouveau/nouveau_sched.c | 1 +
drivers/gpu/drm/panfrost/panfrost_job.c | 1 +
drivers/gpu/drm/panthor/panthor_mmu.c | 1 +
drivers/gpu/drm/panthor/panthor_sched.c | 1 +
drivers/gpu/drm/radeon/radeon_kms.c | 1 +
drivers/gpu/drm/scheduler/sched_entity.c | 52 +++++--
drivers/gpu/drm/scheduler/sched_fence.c | 2 +-
drivers/gpu/drm/scheduler/sched_internal.h | 15 +-
drivers/gpu/drm/scheduler/sched_main.c | 121 +++++++++++++--
drivers/gpu/drm/scheduler/sched_rq.c | 89 +++++++----
drivers/gpu/drm/scheduler/tests/mock_scheduler.c | 1 +
drivers/gpu/drm/v3d/v3d_sched.c | 1 +
drivers/gpu/drm/xe/display/xe_fb_pin.c | 33 +----
drivers/gpu/drm/xe/xe_bo.h | 14 ++
drivers/gpu/drm/xe/xe_dep_scheduler.c | 1 +
drivers/gpu/drm/xe/xe_device.c | 6 +-
drivers/gpu/drm/xe/xe_execlist.c | 1 +
drivers/gpu/drm/xe/xe_gpu_scheduler.c | 1 +
drivers/gpu/drm/xe/xe_guc_ads.c | 93 ++++++++----
drivers/gpu/drm/xe/xe_guc_ads_types.h | 5 +
drivers/gpu/drm/xe/xe_guc_pc.c | 13 +-
drivers/gpu/drm/xe/xe_lrc.c | 29 +++-
drivers/gpu/drm/xe/xe_lrc.h | 7 +
drivers/gpu/drm/xe/xe_oa.c | 13 +-
drivers/gpu/drm/xe/xe_pxp.c | 162 +++++++++++++++------
drivers/gpu/drm/xe/xe_pxp_types.h | 27 +++-
include/drm/gpu_scheduler.h | 42 +++++-
54 files changed, 790 insertions(+), 336 deletions(-)