aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-02-24 00:27:21 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-02-27 17:32:14 +0100
commitb67082425350a0a47cde7ebfb7914a72c4c97d0f (patch)
tree7d6c9c57dd9324378e67f53f785be3ef2e05d48a /tools/perf/scripts/python
parentdrm/i915/bios: Downgrade the "signature missing" DRM_ERROR to debug (diff)
downloadlinux-dev-b67082425350a0a47cde7ebfb7914a72c4c97d0f.tar.xz
linux-dev-b67082425350a0a47cde7ebfb7914a72c4c97d0f.zip
drm/i915: Only bump refcnt on objects scheduled for eviction
Incrementing the reference count on all objects walked when searching for space in the aperture is a non-neglible amount of overhead. In fact, we only need to hold on to a reference for objects that we will evict, so we can therefore delay the referencing until we find a suitable hole and only add those objects that fall inside. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions