On 6/11/2015 3:23 PM, Mika Kuoppala wrote:
Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> writes:
On pe, 2015-05-22 at 20:04 +0300, Mika Kuoppala wrote:
Check the allocation area against the known end
of address space instead of against fixed value.
v2: Return ENODEV on internal bugs (Chris)
Signed-off-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxx>
---
drivers/gpu/drm/i915/i915_gem_gtt.c | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Why is it not enough just to change the WARN_ON test?
Might have be cleaner yes. I just wanted to keep the pde iteration
loop using 32bit arithmetic like it used to.
Unless Joonas has any more comments,
Reviewed-by: Michel Thierry <michel.thierry@xxxxxxxxx>
-Mika
bitmap_zero(new_page_tables, I915_PDES);
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx