[Intel-gfx] [CI v4 0/4] Add ops to intel_uc

Michal Wajdeczko michal.wajdeczko at intel.com
Fri Jan 10 22:27:19 UTC 2020


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 
v3: reuse __uc_check_hw to avoid redundant comment
v4: forward declare ops struct vs functions

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

-- 
2.19.2



More information about the Intel-gfx mailing list