diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-05 02:40:01 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2024-08-05 02:40:01 +0000 |
commit | 4a64803e54143423eba930c9d9c4841f22009089 (patch) | |
tree | 5ed6da98683c35e6032a978a147e9d384910ff9e /sys | |
parent | 575f9d73c006db4f62c4eacd82cbe67e85310268 (diff) |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/i915/gt/intel_execlists_submission.c | 6 |
1 files changed, 1 insertions, 5 deletions
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) |