diff --git a/sys/external/bsd/drm2/dist/drm/scheduler/sched_entity.c b/sys/external/bsd/drm2/dist/drm/scheduler/sched_entity.c index 4a606b13dce3..f3af7189651f 100644 --- a/sys/external/bsd/drm2/dist/drm/scheduler/sched_entity.c +++ b/sys/external/bsd/drm2/dist/drm/scheduler/sched_entity.c @@ -522,11 +522,15 @@ void drm_sched_entity_select_rq(struct drm_sched_entity *entity) * * Returns 0 for success, negative error code otherwise. */ +#include void drm_sched_entity_push_job(struct drm_sched_job *sched_job, struct drm_sched_entity *entity) { bool first; + printf("%s: job=%p\n", __func__, sched_job); + db_stacktrace(); + trace_drm_sched_job(sched_job, entity); atomic_inc(&entity->rq->sched->score); #ifdef __NetBSD__ diff --git a/sys/external/bsd/drm2/dist/drm/scheduler/sched_main.c b/sys/external/bsd/drm2/dist/drm/scheduler/sched_main.c index f085c2835e72..ea0794c371db 100644 --- a/sys/external/bsd/drm2/dist/drm/scheduler/sched_main.c +++ b/sys/external/bsd/drm2/dist/drm/scheduler/sched_main.c @@ -315,6 +315,7 @@ static void drm_sched_job_timedout(struct work_struct *work) list_del_init(&job->node); spin_unlock_irqrestore(&sched->job_list_lock, flags); + printf("%s: job=%p\n", __func__, job); job->sched->ops->timedout_job(job); /*