mbox series

[RFC,0/4] Add ops to intel_uc

Message ID 20191210204744.65276-1-michal.wajdeczko@intel.com (mailing list archive)
Headers show
Series Add ops to intel_uc | expand

Message

Michal Wajdeczko Dec. 10, 2019, 8:47 p.m. UTC
Instead of spreading multiple conditionals across the uC code
to find out current mode of uC operation, start using predefined
set of function pointers that reflect that mode.

Michal Wajdeczko (4):
  drm/i915/uc: Add ops to intel_uc
  drm/i915/uc: Add init_fw/fini_fw to to intel_uc_ops
  drm/i915/uc: Add init/fini to to intel_uc_ops
  drm/i915/uc: Add sanitize to to intel_uc_ops

 drivers/gpu/drm/i915/gt/uc/intel_uc.c | 83 ++++++++++++++++++---------
 drivers/gpu/drm/i915/gt/uc/intel_uc.h | 64 ++++++++++++++++++---
 2 files changed, 113 insertions(+), 34 deletions(-)