]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add EU stride runtime parameter
authorStuart Summers <stuart.summers@intel.com>
Fri, 23 Aug 2019 16:03:00 +0000 (09:03 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 23 Aug 2019 18:14:22 +0000 (19:14 +0100)
commit49610c377be7f32d948f0970705b4ad015923aa0
tree6e491b6d5f8273530985b44925982e64c18e195b
parent7a200aad1127e98cbf4da9685f652899598fe357
drm/i915: Add EU stride runtime parameter

Add a new SSEU runtime parameter, eu_stride, which is
used to mirror the userspace concept of a range of EUs
per subslice.

This patch simply adds the parameter and updates usage
in the QUERY_TOPOLOGY_INFO handler.

v2: Add GEM_BUG_ON to make sure eu_stride is valid

Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190823160307.180813-5-stuart.summers@intel.com
drivers/gpu/drm/i915/gt/intel_sseu.c
drivers/gpu/drm/i915/gt/intel_sseu.h
drivers/gpu/drm/i915/i915_query.c
drivers/gpu/drm/i915/intel_device_info.c