commit | 2c4b389518fbe552188928aadcd3815d5116a05c | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Dec 22 08:36:31 2016 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Dec 28 11:50:28 2016 +0100 |
tree | 741bd09ab8f830f5a9cb984ce623f0a4595507fd | |
parent | 4a6c156f56beaaf83102c8b29baeef070c697093 [diff] |
drm: Unconditionally do the range check in drm_mm_scan_add_block() Doing the check is trivial (low cost in comparison to overall eviction) and helps simplify the code. 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-29-chris@chris-wilson.co.uk