Commit a63b6a22 authored by Chris Wilson's avatar Chris Wilson 🤔
Browse files

sna: Supply 64b reloc versions for threaded composite blts



Apparently we never take this path or else it would have failed before
(we don't take it as we prefer render for these chipsets).
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 9e6e003e
......@@ -261,7 +261,7 @@ noinline static void __sna_blt_fill_begin(struct sna *sna,
b[1] = blt->br13;
b[2] = 0;
b[3] = 0;
*(uint32_t *)(b+4) =
*(uint64_t *)(b+4) =
kgem_add_reloc64(kgem, kgem->nbatch + 4, blt->bo[0],
I915_GEM_DOMAIN_RENDER << 16 |
I915_GEM_DOMAIN_RENDER |
......@@ -3111,7 +3111,10 @@ sna_blt_composite__convert(struct sna *sna,
tmp->blt = blt_composite_copy;
tmp->box = blt_composite_copy_box;
tmp->boxes = blt_composite_copy_boxes;
tmp->thread_boxes = blt_composite_copy_boxes__thread;
if (sna->kgem.gen >= 0100)
tmp->thread_boxes = blt_composite_copy_boxes__thread64;
else
tmp->thread_boxes = blt_composite_copy_boxes__thread;
if (!sna_blt_copy_init(sna, &tmp->u.blt,
tmp->src.bo, tmp->dst.bo,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment