diff options
author | Chris Wilson <[email protected]> | 2012-11-15 11:32:17 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2012-11-30 23:20:54 +0100 |
commit | 9e8944ab564f2e3dde90a518cd32048c58918608 (patch) | |
tree | 25a2dffcd1cfa8d01c50d03d8791817bafd05574 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 5973c7ee519e2a240c68b290a1836bdb25ed3701 (diff) |
drm: Introduce an iterator over holes in the drm_mm range manager
This will be used i915 in forthcoming patches in order to measure the
largest contiguous chunk of memory available for enabling chipset
features.
v2: Try to make the macro marginally safer and more readable by not
depending upon the drm_mm_hole_node_end() being non-zero. Note that we
need to open code list_for_each() in order to update the hole_start,
hole_end variable on each iteration and keep the macro sane.
v3: Tidy up few BUG_ONs that fell foul of adding additional tests to
drm_mm_hole_node_start().
Signed-off-by: Chris Wilson <[email protected]>
Cc: Dave Airlie <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Cc: [email protected]
Reviewed-by: Ben Widawsky <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions