Skip to content
Commit 2c4b3895 authored by Chris Wilson's avatar Chris Wilson Committed by Daniel Vetter
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161222083641.2691-29-chris@chris-wilson.co.uk
parent 4a6c156f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment