drm_sched_entity_fini(9)
π NAME π
drm_sched_entity_fini β destroy a context entity π₯
okay bestie, welcome to the drm_sched_entity_fini(9) page from the Kernel API Manual. This is the cleanup-girlie for a scheduler entity, no cap.
β¨ SYNOPSIS β¨
void drm_sched_entity_fini (struct drm_sched_entity *entity );
π«Ά ARGUMENTS π«Ά
entityβ the scheduler entity you're about to clean up. That's the whole argument, bestie.
π DESCRIPTION π
This function cleans up an entity that was initialized by drm_sched_entity_init. It's giving end-of-era energy for that entity.
β οΈ bestie, listen: if there are potentially job still in flight or getting newly queued, you must call drm_sched_entity_flush first. Do not skip this step, fr fr.
Then this function goes over the entity and signals all jobs with an error code if the process was killed. That's the whole vibe: cleanup plus error-signaling when the process got yeeted. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/scheduler/sched_entity.c drm_sched_entity_stats_release(9)drm_sched_entity_stats_new(9)drm_sched_entity_stats_job_add_gpu_time(9)drm_sched_entity_init(9)drm_sched_entity_modify_sched(9)drm_sched_entity_error(9)drm_sched_entity_kill(9)drm_sched_entity_flush(9)drm_sched_entity_destroy(9)drm_sched_entity_set_priority(9)drm_sched_entity_push_job(9)
xoxo, this page is sourced from ./drivers/gpu/drm/scheduler, dated October 2026, and it's literally titled drm_sched_entity_fini(9) β slay and goodbye πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms