drm/i915: Add kick_backend function to i915_sched_engine
authorMatthew Brost <matthew.brost@intel.com>
Fri, 18 Jun 2021 01:06:36 +0000 (18:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 18 Jun 2021 22:14:09 +0000 (15:14 -0700)
commit71ed60112d5d3bc90df704c1db2b655a9f4a7b66
treea731d2be22fb920918ae2812d089b46baa0956bf
parent3f623e06cd56573d57660ce02d63aaf0a09d3fbb
drm/i915: Add kick_backend function to i915_sched_engine

Not all back-ends require a kick after a  scheduling update, so make the
kick a call-back function that the  back-end can opt-in to. Also move
the current kick function from the scheduler to the execlists file as it
is specific to that back-end.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210618010638.98941-7-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/i915_scheduler.c
drivers/gpu/drm/i915/i915_scheduler_types.h