diff options
| author | Chris Wilson <[email protected]> | 2019-06-26 10:43:30 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-06-26 21:13:12 +0100 |
| commit | c1a495a558536c5745c6449f7c04ba3cf40be9da (patch) | |
| tree | 84a668dca5b928c1dbfffcef7672734e0a2656a9 /tools/perf/scripts/python | |
| parent | 848ed7d54246296f684a4b99546e20d0577aec72 (diff) | |
drm: Allow range of 0 for drm_mm_insert_node_in_range()
We gracefully handle the caller specifying a zero range, so don't force
them to special case that condition if it naturally falls out of their
setup. What we don't check is if the end < start, so keep that as an
assert for an illegal call.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Cc: Daniel Vetter <[email protected]>
Reviewed-by: Daniele Ceraolo Spurio <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions