diff options
author | Matthew Brost <matthew.brost@intel.com> | 2021-06-18 04:06:35 +0300 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2021-06-19 01:13:34 +0300 |
commit | 3f623e06cd56573d57660ce02d63aaf0a09d3fbb (patch) | |
tree | 7f58be2e5357a6b4c3612845fa6faf720ce9e485 /drivers/gpu/drm/i915/gt/intel_engine_user.c | |
parent | 349a2bc5aae45f54bce1c6fd54d8d3ac2ae26611 (diff) | |
download | linux-3f623e06cd56573d57660ce02d63aaf0a09d3fbb.tar.xz |
drm/i915: Move engine->schedule to i915_sched_engine
The schedule function should be in the schedule object.
v3:
(Jason Ekstrand)
Add kernel doc
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-6-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_engine_user.c')
-rw-r--r-- | drivers/gpu/drm/i915/gt/intel_engine_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gt/intel_engine_user.c b/drivers/gpu/drm/i915/gt/intel_engine_user.c index 3cca7ea2d6ea..84142127ebd8 100644 --- a/drivers/gpu/drm/i915/gt/intel_engine_user.c +++ b/drivers/gpu/drm/i915/gt/intel_engine_user.c @@ -108,7 +108,7 @@ static void set_scheduler_caps(struct drm_i915_private *i915) for_each_uabi_engine(engine, i915) { /* all engines must agree! */ int i; - if (engine->schedule) + if (engine->sched_engine->schedule) enabled |= (I915_SCHEDULER_CAP_ENABLED | I915_SCHEDULER_CAP_PRIORITY); else |