[Intel-gfx] [PATCH 0/2] Add module parameter to reduce engine instances

Stuart Summers stuart.summers at intel.com
Tue Aug 27 23:14:33 UTC 2019


Add a new module parameter, ring_mask, to allow users to
disable certain engines for a platform. By default this
mask is set to all engines enabled. Bits in the mask are
aligned with the intel_engine_id enums.

As a prerequisite to the patch which adds the module parameter,
change the BUG_ON to a WARN_ON in the event a VDbox or VEbox
engine for a platform does not match the total number of engines
of these catagories supported in the corresponding fuses.

Stuart Summers (2):
  drm/i915: WARN rather than BUG with unexpected media engines
  drm/i915: Add ring_mask module parameter

 drivers/gpu/drm/i915/i915_params.c       |  3 +++
 drivers/gpu/drm/i915/i915_params.h       |  3 ++-
 drivers/gpu/drm/i915/intel_device_info.c | 10 ++++++++--
 3 files changed, 13 insertions(+), 3 deletions(-)

-- 
2.22.0



More information about the Intel-gfx mailing list