diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2021-07-27 02:23:35 +0200 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2021-07-28 02:32:05 +0200 |
commit | 7935785240508c738002accfdac07c398dd77abf (patch) | |
tree | 1da40c0cd0bf99eb79d857a3a40cea6e5dcfbebc /drivers/gpu/drm/i915/gt/uc/intel_guc.h | |
parent | drm/i915/guc: Fix for error capture after full GPU reset with GuC (diff) | |
download | linux-7935785240508c738002accfdac07c398dd77abf.tar.xz linux-7935785240508c738002accfdac07c398dd77abf.zip |
drm/i915/guc: Hook GuC scheduling policies up
Use the official driver default scheduling policies for configuring
the GuC scheduler rather than a bunch of hardcoded values.
v2:
(Matthew Brost)
- Move I915_ENGINE_WANT_FORCED_PREEMPTION to later patch
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Cc: Jose Souza <jose.souza@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210727002348.97202-21-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/uc/intel_guc.h')
-rw-r--r-- | drivers/gpu/drm/i915/gt/uc/intel_guc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc.h b/drivers/gpu/drm/i915/gt/uc/intel_guc.h index f355a70bbec4..8c8cf842c29a 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_guc.h +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc.h @@ -277,6 +277,8 @@ int intel_guc_engine_failure_process_msg(struct intel_guc *guc, void intel_guc_find_hung_context(struct intel_engine_cs *engine); +int intel_guc_global_policies_update(struct intel_guc *guc); + void intel_guc_submission_reset_prepare(struct intel_guc *guc); void intel_guc_submission_reset(struct intel_guc *guc, bool stalled); void intel_guc_submission_reset_finish(struct intel_guc *guc); |