]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/sched: Rename DRM_GPU_SCHED_STAT_NOMINAL to DRM_GPU_SCHED_STAT_RESET
authorMaíra Canal <mcanal@igalia.com>
Mon, 14 Jul 2025 22:07:02 +0000 (19:07 -0300)
committerMaíra Canal <mcanal@igalia.com>
Tue, 15 Jul 2025 11:27:00 +0000 (08:27 -0300)
commit0a5dc1b67ef5c7e851b57764a2aab8cc4341a7b7
treeb671e0c65cd43d1daff4adc64a3d46795a2e4eaa
parentfd5fde69fd413b03e25fb3b8e2ce375c02e74b0d
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>
15 files changed:
drivers/accel/amdxdna/aie2_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/etnaviv/etnaviv_sched.c
drivers/gpu/drm/imagination/pvr_queue.c
drivers/gpu/drm/lima/lima_sched.c
drivers/gpu/drm/nouveau/nouveau_exec.c
drivers/gpu/drm/nouveau/nouveau_sched.c
drivers/gpu/drm/panfrost/panfrost_job.c
drivers/gpu/drm/panthor/panthor_mmu.c
drivers/gpu/drm/panthor/panthor_sched.c
drivers/gpu/drm/scheduler/sched_main.c
drivers/gpu/drm/scheduler/tests/mock_scheduler.c
drivers/gpu/drm/v3d/v3d_sched.c
drivers/gpu/drm/xe/xe_guc_submit.c
include/drm/gpu_scheduler.h