]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Initial introduction of vma resources
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 10 Jan 2022 17:22:14 +0000 (18:22 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 11 Jan 2022 08:01:37 +0000 (09:01 +0100)
commit07dbe55d1d52cda5be6cf9918d42166785506147
treef2b105c0d92c7ab095bd25d3fe5aa1ff688036f1
parent586ce66481b514a936fab466edd5cf809565bc49
drm/i915: Initial introduction of vma resources

Introduce vma resources, sort of similar to TTM resources,  needed for
asynchronous bind management. Initially we will use them to hold
completion of unbinding when we capture data from a vma, but they will
be used extensively in upcoming patches for asynchronous vma unbinding.

v6:
- Some documentation updates

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220110172219.107131-2-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_vma.c
drivers/gpu/drm/i915/i915_vma.h
drivers/gpu/drm/i915/i915_vma_resource.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_vma_resource.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_vma_snapshot.c
drivers/gpu/drm/i915/i915_vma_snapshot.h
drivers/gpu/drm/i915/i915_vma_types.h
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c