diff options
author | 2016-12-22 08:36:27 +0000 | |
---|---|---|
committer | 2016-12-27 14:16:59 +0100 | |
commit | ac9bb7b7d33f6be9e333b24786a774145cc8c59e (patch) | |
tree | e65f935a8201865a8dfea93b1997b6d4570feb19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: Detect overflow in drm_mm_reserve_node() (diff) | |
download | linux-dev-ac9bb7b7d33f6be9e333b24786a774145cc8c59e.tar.xz linux-dev-ac9bb7b7d33f6be9e333b24786a774145cc8c59e.zip |
drm: Simplify drm_mm_clean()
Since commit ea7b1dd44867 ("drm: mm: track free areas implicitly"),
to test whether there are any nodes allocated within the range manager,
we merely have to ask whether the node_list is empty.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161222083641.2691-25-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions