Chris Wilson 507d977ff9 drm/i915: Pass vma to relocate entry
We can simplify our tracking of pending writes in an execbuf to the
single bit in the vma->exec_entry->flags, but that requires the
relocation function knowing the object's vma. Pass it along.

Note we have only been using a single bit to track flushing since

commit cc889e0f6ce6a63c62db17d702ecfed86d58083f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Jun 13 20:45:19 2012 +0200

    drm/i915: disable flushing_list/gpu_write_list

unconditionally flushed all render caches before the breadcrumb and

commit 6ac42f4148bc27e5ffd18a9ab0eac57f58822af4
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sat Jul 21 12:25:01 2012 +0200

    drm/i915: Replace the complex flushing logic with simple invalidate/flush all

did away with the explicit GPU domain tracking. This was then codified
into the ABI with NO_RELOC in

commit ed5982e6ce5f106abcbf071f80730db344a6da42
Author: Daniel Vetter <daniel.vetter@ffwll.ch> # Oi! Patch stealer!
Date:   Thu Jan 17 22:23:36 2013 +0100

    drm/i915: Allow userspace to hint that the relocations were known

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2017-06-16 16:54:04 +01:00
..
2017-05-30 15:54:15 +10:00
2017-05-30 15:54:15 +10:00
2017-05-30 15:54:15 +10:00
2017-05-30 15:54:15 +10:00
2017-05-18 17:22:39 +02:00
2017-05-30 15:54:15 +10:00
2017-06-16 16:54:04 +01:00
2017-05-30 15:54:15 +10:00
2017-04-13 06:17:40 +10:00
2017-05-30 15:54:15 +10:00
2017-05-30 15:54:15 +10:00
2017-04-20 13:19:34 +10:00
2017-05-18 17:22:39 +02:00
2017-05-18 17:22:39 +02:00
2017-05-18 17:22:39 +02:00
2017-05-04 13:53:05 +08:00
2017-03-24 09:36:06 +01:00
2017-05-18 17:22:39 +02:00
2017-03-24 09:36:06 +01:00
2017-04-04 20:47:54 +02:00
2017-03-09 16:18:02 +01:00
2017-03-14 14:38:33 +01:00