]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915: use a separate context for gpu relocs"
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Nov 2019 12:48:46 +0000 (12:48 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Nov 2019 14:23:53 +0000 (14:23 +0000)
commitca0f70b8f11e22ff23ecb737867289272d5c267f
tree32ba8d8f2536cdcc4f953ca116f1a4492cf3e07c
parent33bd4342399e88ca05d129cc6e328e5447cd7297
Revert "drm/i915: use a separate context for gpu relocs"

Since commit 86fe8b597fbf ("drm/i915/tgl: Suspend pre-parser across GTT
invalidations"), we now disable the advanced preparser on Tigerlake for the
invalidation phase at the start of the batch, we no longer need to emit
the GPU relocations from a second context as they are now flushed inlined.

References: 47191cff0463 ("drm/i915: use a separate context for gpu relocs")
References: 86fe8b597fbf ("drm/i915/tgl: Suspend pre-parser across GTT invalidations")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191129124846.949100-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c