]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/guc: Enable compute scheduling on DG2
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 22 Sep 2022 20:12:09 +0000 (13:12 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 28 Sep 2022 00:12:43 +0000 (17:12 -0700)
commit1e88da4f6d8938bef42b3bc6e9c68c795b46ce0f
tree723c4a47986bf09ea21af23f6fdc15a4e498d2f0
parentd24e7855ef7242a045d20af9c2a58474fe238993
drm/i915/guc: Enable compute scheduling on DG2

DG2 has issues. To work around one of these the GuC must schedule
apps in an exclusive manner across both RCS and CCS. That is, if a
context from app X is running on RCS then all CCS engines must sit
idle even if there are contexts from apps Y, Z, ... waiting to run. A
certain OS favours RCS to the total starvation of CCS. Linux does not.
Hence the GuC now has a scheduling policy setting to control this
abitration.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220922201209.1446343-2-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h
drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c