[Intel-gfx] [PATCH] Fix list empty check in i915_gem_evict_everything
Chris Wilson
chris at chris-wilson.co.uk
Wed Aug 26 00:28:43 PDT 2015
On Wed, Aug 26, 2015 at 03:01:26PM +0800, Zhiyuan Lv wrote:
> That seems to be a typo. The original code will override the previous
> list empty check value in the loop. As the result, only the last vm in
> vm_list impacts the empty check. The problem is fixed by using local
> bool variable inside the loop.
Or we could just delete the code entirely since it is no longer used
(except for a mistake in shrink-all).
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list