]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Take DBG_FORCE_RELOC into account prior to using reloc_gpu
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Apr 2020 12:36:16 +0000 (13:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Apr 2020 14:58:33 +0000 (15:58 +0100)
commit8ef791e7f1137a0db30441a16aad0890bcfb0351
tree18467e58168e4197a4a58aa6ad824051e43feb32
parentf82a96a97c13e204145cf9b69cc67e448c3d1f78
drm/i915/gem: Take DBG_FORCE_RELOC into account prior to using reloc_gpu

If we set the debug flag to force ourselves not to relocate via the gpu,
do not relocate via the gpu.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200406123616.7334-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c