linux-loongson/drivers/gpu/drm/panthor
Maíra Canal 0a5dc1b67e
drm/sched: Rename DRM_GPU_SCHED_STAT_NOMINAL to DRM_GPU_SCHED_STAT_RESET
Among the scheduler's statuses, the only one that indicates an error is
DRM_GPU_SCHED_STAT_ENODEV. Any status other than DRM_GPU_SCHED_STAT_ENODEV
signifies that the operation succeeded and the GPU is in a nominal state.

However, to provide more information about the GPU's status, it is needed
to convey more information than just "OK".

Therefore, rename DRM_GPU_SCHED_STAT_NOMINAL to
DRM_GPU_SCHED_STAT_RESET, which better communicates the meaning of this
status. The status DRM_GPU_SCHED_STAT_RESET indicates that the GPU has
hung, but it has been successfully reset and is now in a nominal state
again.

Reviewed-by: Philipp Stanner <phasta@kernel.org>
Link: https://lore.kernel.org/r/20250714-sched-skip-reset-v6-1-5c5ba4f55039@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
2025-07-15 08:27:00 -03:00
..
Kconfig
Makefile
panthor_devfreq.c
panthor_devfreq.h
panthor_device.c
panthor_device.h
panthor_drv.c drm/panthor: Clean up 64-bit register definitions 2025-06-06 12:44:41 +02:00
panthor_fw.c
panthor_fw.h
panthor_gem.c drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code 2025-07-10 10:16:50 +01:00
panthor_gem.h drm/panthor: Fix UAF in panthor_gem_create_with_handle() debugfs code 2025-07-10 10:16:50 +01:00
panthor_gpu.c drm/panthor: Wait for _READY register when powering on 2025-06-30 16:57:24 +01:00
panthor_gpu.h drm/panthor: Clean up 64-bit register definitions 2025-06-06 12:44:41 +02:00
panthor_heap.c
panthor_heap.h
panthor_mmu.c drm/sched: Rename DRM_GPU_SCHED_STAT_NOMINAL to DRM_GPU_SCHED_STAT_RESET 2025-07-15 08:27:00 -03:00
panthor_mmu.h drm/panthor: Remove dead VM flushing code 2025-07-14 16:59:21 +01:00
panthor_regs.h drm/panthor: Clean up 64-bit register definitions 2025-06-06 12:44:41 +02:00
panthor_sched.c drm/sched: Rename DRM_GPU_SCHED_STAT_NOMINAL to DRM_GPU_SCHED_STAT_RESET 2025-07-15 08:27:00 -03:00
panthor_sched.h