drm/i915/gt: Export the pinned context constructor and destructor
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 17 Jun 2021 06:30:12 +0000 (08:30 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 17 Jun 2021 13:23:04 +0000 (14:23 +0100)
commitb4ef95309110122e05b0d17310b80a0abde881d9
treea578d89200c3c6bf3ca2a64f689e72741dac2fbb
parent3607e1e9ba7553e39b175fa14d10a48677083607
drm/i915/gt: Export the pinned context constructor and destructor

Allow internal clients to create and destroy a pinned context.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210617063018.92802-7-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/gt/intel_engine.h
drivers/gpu/drm/i915/gt/intel_engine_cs.c