mirror-linux/drivers/gpu/drm/panfrost
Philipp Stanner cb345f954e drm/panfrost: Fix scheduler workqueue bug
When the GPU scheduler was ported to using a struct for its
initialization parameters, it was overlooked that panfrost creates a
distinct workqueue for timeout handling.

The pointer to this new workqueue is not initialized to the struct,
resulting in NULL being passed to the scheduler, which then uses the
system_wq for timeout handling.

Set the correct workqueue to the init args struct.

Cc: stable@vger.kernel.org # 6.15+
Fixes: 796a9f55a8 ("drm/sched: Use struct for drm_sched_init() params")
Reported-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Closes: https://lore.kernel.org/dri-devel/b5d0921c-7cbf-4d55-aa47-c35cd7861c02@igalia.com/
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250709102957.100849-2-phasta@kernel.org
2025-07-14 16:49:10 +01:00
..
Kconfig
Makefile
TODO
panfrost_devfreq.c drm/panfrost: Add missing OPP table refcnt decremental 2024-11-06 15:41:37 +00:00
panfrost_devfreq.h
panfrost_device.c drm/panfrost: reorder pd/clk/rst sequence 2025-04-28 10:24:04 +01:00
panfrost_device.h drm/panfrost: Add PM runtime flag 2025-04-28 10:23:48 +01:00
panfrost_drv.c drm/panfrost: add h616 compatible string 2025-04-28 10:23:55 +01:00
panfrost_dump.c drm/gem: Change locked/unlocked postfix of drm_gem_v/unmap() function names 2025-03-26 22:59:56 +03:00
panfrost_dump.h
panfrost_features.h drm/panfrost: Set HW_FEATURE_AARCH64_MMU feature flag on Bifrost models 2025-03-31 12:08:28 +01:00
panfrost_gem.c drm/panfrost: Test for imported buffers with drm_gem_is_imported() 2025-04-14 10:53:11 +02:00
panfrost_gem.h
panfrost_gem_shrinker.c drm/shmem-helper: Refactor locked/unlocked functions 2025-03-26 23:00:12 +03:00
panfrost_gpu.c drm/panfrost: Add GPU ID for MT8188 Mali-G57 MC3 2024-11-28 11:25:20 +00:00
panfrost_gpu.h drm/panfrost: Add SYSTEM_TIMESTAMP and SYSTEM_TIMESTAMP_FREQUENCY parameters 2024-09-02 10:13:38 +01:00
panfrost_issues.h
panfrost_job.c drm/panfrost: Fix scheduler workqueue bug 2025-07-14 16:49:10 +01:00
panfrost_job.h
panfrost_mmu.c drm/panfrost: Add support for AARCH64_4K page table format 2025-03-31 12:12:15 +01:00
panfrost_mmu.h
panfrost_perfcnt.c drm/gem: Change locked/unlocked postfix of drm_gem_v/unmap() function names 2025-03-26 22:59:56 +03:00
panfrost_perfcnt.h
panfrost_regs.h drm/panfrost: Add support for AARCH64_4K page table format 2025-03-31 12:12:15 +01:00