]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita30db0c6ca76837b2d44be14b1c61b234946a4a1
tree0e3b465ba2bd2834790cf81a73171453128f4aff
parentee3a4a372fd1c1d54d8fcacb87547749a5db9fca
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