[PULL] drm-misc-fixes

Thomas Zimmermann
2024-10-02T15:15:33Z

Hi Dave, Sima,

although a bit early, here's the week's PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2024-10-02:
Short summary of fixes pull:

panthor:
- Set FOP_UNSIGNED_OFFSET in fops instance
- Acquire lock in panthor_vm_prepare_map_op_ctx()
- Avoid ninitialized variable in tick_ctx_cleanup()
- Do not block scheduler queue if work is pending
- Do not add write fences to the shared BOs

scheduler:
- Fix locking in drm_sched_entity_modify_sched()
- Fix pointer deref if entity queue changes
The following changes since commit 43102a2012c2e2f8424d7eef52aede8e73cf2fed:

Merge tag 'drm-misc-fixes-2024-09-26' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes (2024-10-01 08:15:55 +1000)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/misc/kernel.git tags/drm-misc-fixes-2024-10-02

for you to fetch changes up to f9e7ac6e2e9986c2ee63224992cb5c8276e46b2a:

drm/panthor: Don't add write fences to the shared BOs (2024-10-01 18:41:02 +0200)

----------------------------------------------------------------
Short summary of fixes pull:

panthor:
- Set FOP_UNSIGNED_OFFSET in fops instance
- Acquire lock in panthor_vm_prepare_map_op_ctx()
- Avoid ninitialized variable in tick_ctx_cleanup()
- Do not block scheduler queue if work is pending
- Do not add write fences to the shared BOs

scheduler:
- Fix locking in drm_sched_entity_modify_sched()
- Fix pointer deref if entity queue changes

----------------------------------------------------------------
Boris Brezillon (4):
drm/panthor: Lock the VM resv before calling drm_gpuvm_bo_obtain_prealloc()
drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()
drm/panthor: Don't declare a queue blocked if deferred operations are pending
drm/panthor: Don't add write fences to the shared BOs

Christian König (1):
drm/sched: revert "Always increment correct scheduler score"

Liviu Dudau (1):
drm/panthor: Add FOP_UNSIGNED_OFFSET to fop_flags

Maarten Lankhorst (1):
Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes

Tvrtko Ursulin (3):
drm/sched: Add locking to drm_sched_entity_modify_sched
drm/sched: Always wake up correct scheduler in drm_sched_entity_push_job
drm/sched: Always increment correct scheduler score

drivers/gpu/drm/panthor/panthor_drv.c | 1 +
drivers/gpu/drm/panthor/panthor_mmu.c | 8 ++++++++
drivers/gpu/drm/panthor/panthor_sched.c | 20 +++++++++++---------
drivers/gpu/drm/scheduler/sched_entity.c | 12 ++++++++++--
4 files changed, 30 insertions(+), 11 deletions(-)

--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)