]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Restore check for invalid vma for fencing
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Mar 2020 20:54:50 +0000 (20:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 17 Mar 2020 00:22:34 +0000 (00:22 +0000)
commit220a6704ff4373cf1573b663d90d632ea0740210
tree6cbd5d87cb6ca69305d08edb3c3d978960b8d02a
parent0b6bc81dbd6dd2f6132c623e9c3df33fe3397e94
drm/i915/gt: Restore check for invalid vma for fencing

Apparently we do try and attach a fence to an invalid vma (during
execbuf) so we cannot simply assert it never happens and report EINVAL
instead.

Fixes: dec9cf9ee8cb ("drm/i915/gt: Pull restoration of GGTT fences underneath the GT")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200316205450.15843-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c