diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-05 13:00:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-05 17:14:33 +0000 |
commit | a42375af0a305e9c299cffd739a39e415930614c (patch) | |
tree | 40b93cedda7a502aaac6e45e848311c0601ae278 /.gitignore | |
parent | 64d6c500a3843408559164223d69fb31e1a00e52 (diff) | |
download | linux-a42375af0a305e9c299cffd739a39e415930614c.tar.bz2 |
drm/i915: Release the active tracker tree upon idling
As soon as we detect that the active tracker is idle and we prepare to
call the retire callback, release the storage for our tree of
per-timeline nodes. We expect these to be infrequently used and quick
to allocate, so there is little benefit in keeping the tree cached and
we would prefer to return the pages back to the system in a timely
fashion.
This also means that when we finalize the struct as a whole, we know as
the activity tracker must be idle, the tree has already been released.
Indeed we can reduce i915_active_fini() just to the assertions that there
is nothing to do.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190205130005.2807-3-chris@chris-wilson.co.uk
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions