]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit093a0bea629ac8e4f2ee9a3ffc30817139452937
tree4e74bb157a55b8aabde9bf0d93bef2d405b8b4ac
parent9fb87fb3fdd208fbbab339ad32406e010c938740
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