OSDN Git Service

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)
commit7a200aad1127e98cbf4da9685f652899598fe357
tree503a4cf958696effa2b60611fdafc705ceee5e07
parent8b355db99cfbdaea848e05c288d6d80c391f0b13
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