diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2025-01-14 11:19:16 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2025-01-14 11:19:16 +0000 |
commit | 9aedfbbadb933ebf08617b7cd14721abf377b232 (patch) | |
tree | a466463e7fd48a1eec85ab7f7dd0e0904274156d /sys | |
parent | e0fe10f9909f4b7fc826812d5671373749b7803e (diff) |
sync set_scheduler_caps() with linux
adds 'drm/i915/gt: Consider multi-gt instead of to_gt()' for MTL
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/i915/gt/intel_engine_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/gt/intel_engine_user.c b/sys/dev/pci/drm/i915/gt/intel_engine_user.c index 10024c313f2..df26622f834 100644 --- a/sys/dev/pci/drm/i915/gt/intel_engine_user.c +++ b/sys/dev/pci/drm/i915/gt/intel_engine_user.c @@ -165,7 +165,7 @@ static void set_scheduler_caps(struct drm_i915_private *i915) disabled |= (I915_SCHEDULER_CAP_ENABLED | I915_SCHEDULER_CAP_PRIORITY); - if (intel_uc_uses_guc_submission(&to_gt(i915)->uc)) + if (intel_uc_uses_guc_submission(&engine->gt->uc)) enabled |= I915_SCHEDULER_CAP_STATIC_PRIORITY_MAP; for (i = 0; i < ARRAY_SIZE(map); i++) { |