mbox series

[v2,0/4] Add ops to intel_uc

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

Message

Michal Wajdeczko Jan. 10, 2020, 4:29 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.

v2: rebased, using macro to generate ops helpers 

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 | 77 +++++++++++++++++++--------
 drivers/gpu/drm/i915/gt/uc/intel_uc.h | 36 ++++++++++---
 2 files changed, 83 insertions(+), 30 deletions(-)