linux/drivers/gpu/drm/i915/gt/uc
Michal Wajdeczko 6fbeda0bfd drm/i915/uc: Add ops to intel_uc
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.

Begin with pair of init_hw/fini_hw functions that are responsible
for uC hardware initialization and cleanup.

v2: drop ops_none, use macro to generate ops helpers
v3: reuse __uc_check_hw to avoid redundant comment
v4: forward declare ops struct vs functions

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200110222723.14724-2-michal.wajdeczko@intel.com
2020-01-11 08:34:28 +00:00
..
intel_guc_ads.c drm/i915/guc: add a helper to allocate and map guc vma 2019-12-09 13:54:33 -08:00
intel_guc_ads.h drm/i915/uc: Update copyright and license 2019-08-12 13:01:34 +01:00
intel_guc_ct.c drm/i915/guc: Remove function pointers for send/receive calls 2019-12-17 15:22:49 -08:00
intel_guc_ct.h drm/i915/guc: Remove function pointers for send/receive calls 2019-12-17 15:22:49 -08:00
intel_guc_fw.c drm/i915/uc: Drop explicit gt param in some uc_fw functions 2019-12-11 21:34:31 +00:00
intel_guc_fw.h drm/i915/uc: Update copyright and license 2019-08-12 13:01:34 +01:00
intel_guc_fwif.h drm/i915/guc: kill the GuC client 2019-12-09 13:55:50 -08:00
intel_guc_log.c drm/i915/guc: Enable guc logging on guc log relay write 2019-10-23 15:05:00 -07:00
intel_guc_log.h drm/i915/guc: Enable guc logging on guc log relay write 2019-10-23 15:05:00 -07:00
intel_guc_reg.h drm/i915/tgl: Move GTCR register to cope with GAM MMIO address remap 2019-08-23 10:07:35 -07:00
intel_guc_submission.c drm/i915/gt: Pull GT initialisation under intel_gt_init() 2019-12-22 12:51:32 +00:00
intel_guc_submission.h drm/i915/guc: kill the GuC client 2019-12-09 13:55:50 -08:00
intel_guc.c drm/i915/gt: Pull GT initialisation under intel_gt_init() 2019-12-22 12:51:32 +00:00
intel_guc.h drm/i915/guc: Unify notify() functions 2019-12-17 15:22:51 -08:00
intel_huc_fw.c drm/i915/uc: Drop explicit gt param in some uc_fw functions 2019-12-11 21:34:31 +00:00
intel_huc_fw.h drm/i915/uc: Update copyright and license 2019-08-12 13:01:34 +01:00
intel_huc.c drm/i915: Fix i915_inject_load_error() name to read *_probe_* 2019-10-29 15:37:57 +00:00
intel_huc.h drm/i915/uc: Add explicit DISABLED state for firmware 2019-08-16 23:45:54 +01:00
intel_uc_fw_abi.h drm/i915/guc: improve documentation 2019-10-17 09:30:32 -07:00
intel_uc_fw.c drm/i915/gt: Pull GT initialisation under intel_gt_init() 2019-12-22 12:51:32 +00:00
intel_uc_fw.h drm/i915/uc: Drop explicit gt param in some uc_fw functions 2019-12-11 21:34:31 +00:00
intel_uc.c drm/i915/uc: Add ops to intel_uc 2020-01-11 08:34:28 +00:00
intel_uc.h drm/i915/uc: Add ops to intel_uc 2020-01-11 08:34:28 +00:00