]> 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)
commit7f15682c8bd30505b11a485e2d2d9d488af50280
tree32ba8d8f2536cdcc4f953ca116f1a4492cf3e07c
parent5ff09da92c36b72faabd4b09e4e21c4a5e86c973
Revert "drm/i915: use a separate context for gpu relocs"

Since commit cec7d7d07f32 ("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: e9380a4c1baf ("drm/i915: use a separate context for gpu relocs")
References: cec7d7d07f32 ("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