mbox series

[0/2] Add module parameter to reduce engine instances

Message ID 20190827231435.398-1-stuart.summers@intel.com (mailing list archive)
Headers show
Series Add module parameter to reduce engine instances | expand

Message

Summers, Stuart Aug. 27, 2019, 11:14 p.m. UTC
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(-)