]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add subslice stride runtime parameter
authorStuart Summers <stuart.summers@intel.com>
Fri, 23 Aug 2019 16:02:59 +0000 (09:02 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 23 Aug 2019 18:14:21 +0000 (19:14 +0100)
commit82c4772737c05eaf1132af6e0b43c96fe6b8b1fa
tree503a4cf958696effa2b60611fdafc705ceee5e07
parentbcf9b148a2055abee8f3e57e8c77a4c0217ca67d
drm/i915: Add subslice stride runtime parameter

Add a new parameter, ss_stride, to the runtime info
structure. This is used to mirror the userspace concept
of subslice stride, which is a range of subslices per slice.

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

v2: Add GEM_BUG_ON to make sure ss_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-4-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