]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: ensure we reserve a fence slot
authorMatthew Auld <matthew.auld@intel.com>
Wed, 29 Jun 2022 17:43:47 +0000 (18:43 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 1 Jul 2022 07:30:00 +0000 (08:30 +0100)
commitf0a345da75f01d37dd9bc8f594f11231ab146c92
treef65d41261b22f79a54829f07416c96dc794a97af
parentf3c23d32628cc3ed7cbe3e054e49b7757847be67
drm/i915/selftests: ensure we reserve a fence slot

We should always be explicit and allocate a fence slot before adding a
new fence.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Jon Bloomfield <jon.bloomfield@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Cc: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220629174350.384910-10-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c