drm/i915/guc: Ensure GuC schedule operations do not operate on child contexts
authorMatthew Brost <matthew.brost@intel.com>
Thu, 14 Oct 2021 17:19:49 +0000 (10:19 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 15 Oct 2021 17:37:36 +0000 (10:37 -0700)
commit44d25fec1a5d9615fab25fa90a3e70eef21e5d05
tree1deb21bc7af8ffdd81a3f0a07a110cbdf7533f3a
parentc2aa552ff09daf78944f44e98d366009b27f1b63
drm/i915/guc: Ensure GuC schedule operations do not operate on child contexts

In GuC parent-child contexts the parent context controls the scheduling,
ensure only the parent does the scheduling operations.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211014172005.27155-10-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c