diff options
author | 2017-03-16 13:19:53 +0000 | |
---|---|---|
committer | 2017-03-17 17:57:20 +0000 | |
commit | 51a575d957fcb2848babb7163cb6e44a028a29ae (patch) | |
tree | 6576b0f8f8abbf00f63983b678264709183dee3e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/i915: Add i810/i815 pci-ids for completeness (diff) | |
download | linux-dev-51a575d957fcb2848babb7163cb6e44a028a29ae.tar.xz linux-dev-51a575d957fcb2848babb7163cb6e44a028a29ae.zip |
drm/i915: Retire an active batch pool object rather than allocate new
Since obj->active_count is only updated upon retirement, if we see an
active object in the batch pool, double check that is still active
before deciding to allocate a new object.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170316132006.7976-3-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions