diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-04 02:52:44 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-04 03:09:32 -0400 |
commit | b0decaf75bd902a11c932005c88924947ac00b8c (patch) | |
tree | fe69c80e77949921947ea4340cfe445b4c7649f3 /tools/gpio | |
parent | 5cf3d28098695f4e0641f164367ebb821185789b (diff) |
drm/i915: Track active vma requests
Hook the vma itself into the i915_gem_request_retire() so that we can
accurately track when a solitary vma is inactive (as opposed to having
to wait for the entire object to be idle). This improves the interaction
when using multiple contexts (with full-ppgtt) and eliminates some
frequent list walking when retiring objects after a completed request.
A side-effect is that we get an active vma reference for free. The
consequence of this is shown in the next patch...
v2: Update inline names to be consistent with
i915_gem_object_get_active()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-25-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/gpio')
0 files changed, 0 insertions, 0 deletions