diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-04 07:52:26 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-04 08:09:17 +0100 |
| commit | 15717de219f2ea4792d27ff62c29d08e46cda7f8 (patch) | |
| tree | bddf0f5e92ec4833db4d549e635fa3081bec6b6a /scripts/stackusage | |
| parent | drm/i915: Store owning file on the i915_address_space (diff) | |
| download | linux-15717de219f2ea4792d27ff62c29d08e46cda7f8.tar.gz linux-15717de219f2ea4792d27ff62c29d08e46cda7f8.zip | |
drm/i915: Count how many VMA are bound for an object
Since we may have VMA allocated for an object, but we interrupted their
binding, there is a disparity between have elements on the obj->vma_list
and being bound. i915_gem_obj_bound_any() does this check, but this is
not rigorously observed - add an explicit count to make it easier.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-7-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
