]> 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)
commit584ba235a406b7a1edd0053750ac3846a7248442
tree0e3b465ba2bd2834790cf81a73171453128f4aff
parentade8121b9ef74c7d543dcc7041ed63dde2f1c33f
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