]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/i915: Drop the shadow w/a batch buffer
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Jan 2020 12:30:57 +0000 (12:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Jan 2020 15:34:33 +0000 (15:34 +0000)
While this is technically the batch as executed by the HW (in part at
least), it is confusing, and only used for a minority of gen.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Acked-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200110123059.1348712-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gpu_error.c

index 730129ca4c17fe5018ee3e19a24bf1bd707d23b0..f1ca423a69c96b5f1772f7a5aab2da9aca5064f8 100644 (file)
@@ -1428,8 +1428,6 @@ intel_engine_coredump_add_request(struct intel_engine_coredump *ee,
        vma = capture_user(vma, rq, gfp);
        vma = capture_vma(vma, rq->ring->vma, "ring", gfp);
        vma = capture_vma(vma, rq->context->state, "HW context", gfp);
-       if (HAS_BROKEN_CS_TLB(rq->i915))
-               vma = capture_vma(vma, ee->engine->gt->scratch, "WA batch", gfp);
 
        ee->cpu_ring_head = rq->ring->head;
        ee->cpu_ring_tail = rq->ring->tail;