aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/i915/i915_scheduler.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-03-31 13:05:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2020-03-31 21:42:12 +0100
commitf53ae29c0ea16914be272b311ee75c16dcdf5c65 (patch)
tree2fc8455e317bce2cf68b30937fde34fd838aaade /drivers/gpu/drm/i915/i915_scheduler.c
parentdrm/i915: Defer kicking the tasklet until all rescheduling is complete (diff)
downloadwireguard-linux-f53ae29c0ea16914be272b311ee75c16dcdf5c65.tar.xz
wireguard-linux-f53ae29c0ea16914be272b311ee75c16dcdf5c65.zip
drm/i915/gt: Include a few tracek for timeslicing
Add a few telltales to see when timeslicing is being enabled. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200331120502.14713-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_scheduler.c')
-rw-r--r--drivers/gpu/drm/i915/i915_scheduler.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_scheduler.c b/drivers/gpu/drm/i915/i915_scheduler.c
index 612185674b4e..37cfcf5b321b 100644
--- a/drivers/gpu/drm/i915/i915_scheduler.c
+++ b/drivers/gpu/drm/i915/i915_scheduler.c
@@ -209,6 +209,12 @@ static void kick_submission(struct intel_engine_cs *engine,
if (!inflight)
goto unlock;
+ ENGINE_TRACE(engine,
+ "bumping queue-priority-hint:%d for rq:%llx:%lld, inflight:%llx:%lld prio %d\n",
+ prio,
+ rq->fence.context, rq->fence.seqno,
+ inflight->fence.context, inflight->fence.seqno,
+ inflight->sched.attr.priority);
engine->execlists.queue_priority_hint = prio;
/*