drm/i915/overlay: Stash the kernel context on initialisation
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 20:04:53 +0000 (21:04 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 21:54:59 +0000 (22:54 +0100)
commitec22f256a60ccf0dedd4ee305e616b6f17ed2bb7
tree0e3b465ba2bd2834790cf81a73171453128f4aff
parent1ee2ae896bb48c4b896c85c56214efb44320cd8b
drm/i915/overlay: Stash the kernel context on initialisation

Simplify runtime request creation by storing the context we need to use
during initialisation. This allows us to remove one more hardcoded
engine lookup.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190704200455.14870-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_overlay.c