]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Compute the global scheduler caps
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 26 Feb 2019 10:24:00 +0000 (10:24 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Feb 2019 08:58:37 +0000 (08:58 +0000)
commit3b0ac2255e1dc82a47444d7ddc2662238e1b1998
treed185565dc4ee1d5dbf512b71de69081a7a5a10df
parent7da8aeec5e687e2fa3148e3d89a7cb9ddca2a1b0
drm/i915: Compute the global scheduler caps

Do a pass over all the engines upon starting to determine the global
scheduler capability flags (those that are agreed upon by all).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190226102404.29153-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.h