]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/guc: add a helper to allocate and map guc vma
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 5 Dec 2019 22:02:40 +0000 (14:02 -0800)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 9 Dec 2019 21:54:33 +0000 (13:54 -0800)
commit18c094b304046335fc9a4bce8ec3a2ac33edab8e
treec03c55c8b6e75a5613b25205d16dc3dad9ce93eb
parentd54dc6eede681e5fa81a69c51e97be07175e6011
drm/i915/guc: add a helper to allocate and map guc vma

We already have a couple of use-cases in the code and another one will
come in one of the later patches in the series.

v2: use the new function for the CT object as well

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> #v1
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191205220243.27403-2-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc.c
drivers/gpu/drm/i915/gt/uc/intel_guc.h
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c