Since H2G communication will be in the hot path of GuC submission, the main aim of this series is to get rid of the function pointers to speed things up and avoid retpolines (in case the compiler decides they're required). While at it, simplify the general communication enabling/disabling by removing support for multiple channels since it is extremely unlikely that we'll ever use more than one. Cc: Michal Wajdeczko <michal.wajdeczko@xxxxxxxxx> Cc: John Harrison <John.C.Harrison@xxxxxxxxx> Cc: Matthew Brost <matthew.brost@xxxxxxxxx> Daniele Ceraolo Spurio (5): drm/i915/guc: Merge communication_stop and communication_disable drm/i915/guc/ct: stop expecting multiple CT channels drm/i915/guc: remove function pointers for send/receive calls drm/i915/guc: unify notify() functions HAX: force enable_guc=2 and WA i915#571 drivers/gpu/drm/i915/gt/intel_gt_irq.c | 2 +- drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 9 + drivers/gpu/drm/i915/gt/uc/intel_guc.c | 43 +-- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 41 +-- drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c | 298 +++++++----------- drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h | 55 ++-- drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 6 +- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 1 - drivers/gpu/drm/i915/gt/uc/intel_uc.c | 36 +-- drivers/gpu/drm/i915/i915_params.h | 2 +- 10 files changed, 186 insertions(+), 307 deletions(-) -- 2.23.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx