Re: [Intel-gfx] [PATCH 17/24] drm/i915: Stash a pointer to the obj's resv in the vma

2017-05-19 Thread Joonas Lahtinen
On to, 2017-05-18 at 10:46 +0100, Chris Wilson wrote: > During execbuf, a mandatory step is that we add this request (this > fence) to each object's reservation_object. Inside execbuf, we track the > vma, and to add the fence to the reservation_object then means having to > first chase the obj, inc

[Intel-gfx] [PATCH 17/24] drm/i915: Stash a pointer to the obj's resv in the vma

2017-05-18 Thread Chris Wilson
During execbuf, a mandatory step is that we add this request (this fence) to each object's reservation_object. Inside execbuf, we track the vma, and to add the fence to the reservation_object then means having to first chase the obj, incurring another cache miss. We can reduce the number of cache