]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Populate logical context during first pin.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 31 Dec 2020 17:04:05 +0000 (17:04 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Jan 2021 22:16:01 +0000 (22:16 +0000)
commitfc731ced4baa4c6b1609caa29761525cc0e39c1f
tree4e74bb157a55b8aabde9bf0d93bef2d405b8b4ac
parentf67557893371106c2bf9c74bab717e0a3a62d867
drm/i915: Populate logical context during first pin.

This allows us to remove pin_map from state allocation, which saves
us a few retry loops. We won't need this until first pin, anyway.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20201231170405.22843-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_context_types.h
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/gt/intel_lrc.c