From: jsg Date: Mon, 5 Aug 2024 02:40:00 +0000 (+0000) Subject: drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4d9ba5d1336683affec7528d9a2453e44ac10dd5;p=openbsd drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8 From Nitin Gote 05c0fb20ca3e000a7e966584845731ba4fc950da in linux-6.6.y/6.6.44 65564157ae64cec0f527583f96e32f484f730f92 in mainline linux --- diff --git a/sys/dev/pci/drm/i915/gt/intel_execlists_submission.c b/sys/dev/pci/drm/i915/gt/intel_execlists_submission.c index 8bb1609b1ff..6cee4690b6f 100644 --- a/sys/dev/pci/drm/i915/gt/intel_execlists_submission.c +++ b/sys/dev/pci/drm/i915/gt/intel_execlists_submission.c @@ -3320,11 +3320,7 @@ static void remove_from_engine(struct i915_request *rq) static bool can_preempt(struct intel_engine_cs *engine) { - if (GRAPHICS_VER(engine->i915) > 8) - return true; - - /* GPGPU on bdw requires extra w/a; not implemented */ - return engine->class != RENDER_CLASS; + return GRAPHICS_VER(engine->i915) > 8; } static void kick_execlists(const struct i915_request *rq, int prio)