summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/uc/intel_guc.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2021-10-14 20:19:51 +0300
committerJohn Harrison <John.C.Harrison@Intel.com>2021-10-15 20:37:39 +0300
commit99b47aaddfa985681496366e131daa69e282bb2a (patch)
tree6eb56d5bfe9cd90497c08eb25471791769f80473 /drivers/gpu/drm/i915/gt/uc/intel_guc.c
parent09c5e3a5e509bb10249c8252dc10c0d8a842e4ae (diff)
downloadlinux-99b47aaddfa985681496366e131daa69e282bb2a.tar.xz
drm/i915/guc: Implement parallel context pin / unpin functions
Parallel contexts are perma-pinned by the upper layers which makes the backend implementation rather simple. The parent pins the guc_id and children increment the parent's pin count on pin to ensure all the contexts are unpinned before we disable scheduling with the GuC / or deregister the context. v2: (Daniel Vetter) - Perma-pin parallel contexts 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-12-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gt/uc/intel_guc.c')
0 files changed, 0 insertions, 0 deletions