]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Only disable preemption on gen8 render engines
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Jan 2021 20:40:25 +0000 (20:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Jan 2021 21:35:56 +0000 (21:35 +0000)
commit481be862fb8c7573beba918d50793c2ecafd10c2
tree653d8a930e4eba8d2860dd323c22b6ef7b9717c7
parent2e99321130001f8bb51830e2c72f5f036891e58c
drm/i915/gt: Only disable preemption on gen8 render engines

The reason why we did not enable preemption on Broadwater was due to
missing GPGPU workarounds. Since this only applies to rcs0, only
restrict rcs0 (and our global capabilities).

While this does not affect exposing a preemption capability to
userspace, it does affect our internal decisions on whether to use
timeslicing and semaphores between individual engines.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210108204026.20682-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/gt/selftest_execlists.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.h