aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-07-31 09:50:12 +0100
committerJoonas Lahtinen <[email protected]>2020-09-07 13:18:36 +0300
commit99a7f4dae7ee6081df04741e0c4ea5e49b139540 (patch)
tree2d16bacb5fec32fdaff5d1109cdd5d74d62620d8 /tools/perf/scripts/python/export-to-sqlite.py
parent5d9341370f57c058a8d880490ba9e79e761b2d7a (diff)
drm/i915: Keep the most recently used active-fence upon discard
Whenever an i915_active idles, we prune its tree of old fence slots to prevent a gradual leak should it be used to track many, many timelines. The downside is that we then have to frequently reallocate the rbtree. A compromise is that we keep the most recently used fence slot, and reuse that for the next active reference as that is the most likely timeline to be reused. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Thomas Hellström <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]> Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions