[PATCH 53/53] drm/i915/gt: Enable ring scheduling for gen4/5
Chris Wilson
chris at chris-wilson.co.uk
Fri Jan 1 15:29:19 UTC 2021
Switch over from FIFO global submission to the priority-sorted
topographical scheduler. At the cost of more busy work on the CPU to
keep the GPU supplied with the next packet of requests, this allows us
to reorder requests around submission stalls.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
index baaf3e8ea70c..baa6fe1f9ae4 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
+++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
@@ -881,7 +881,7 @@ int intel_engines_init(struct intel_gt *gt)
if (HAS_EXECLISTS(gt->i915))
setup = intel_execlists_submission_setup;
- else if (INTEL_GEN(gt->i915) >= 6)
+ else if (INTEL_GEN(gt->i915) >= 4)
setup = intel_ring_scheduler_setup;
else
setup = intel_ring_submission_setup;
--
2.20.1
More information about the Intel-gfx-trybot
mailing list