]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: set num_fence_regs to 0 if there is no aperture
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 29 Oct 2019 09:58:52 +0000 (09:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Oct 2019 10:35:47 +0000 (10:35 +0000)
commitb2d35d535c91775b7ec8185e869c02c427c358bc
tree927d0c2a48d6475437e607ff04ec5de517b1b938
parentb661da28039f3f0d6b6916091ba15fe58fee2d71
drm/i915: set num_fence_regs to 0 if there is no aperture

We can't fence anything without aperture.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191029095856.25431-3-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_gem_fence_reg.c