Re: [Intel-gfx] [PATCH 2/2] drm/i915: Assert we do not overflow 4lvl page directories

2017-02-25 Thread Matthew Auld
On 24 February 2017 at 20:13, Chris Wilson wrote: > Before looking up the page directory entry, check we are still within > bounds. > > Signed-off-by: Chris Wilson > Cc: Matthew Auld Reviewed-by: Matthew Auld ___ Intel-gfx mailing list Intel-gfx@lists

[Intel-gfx] [PATCH 2/2] drm/i915: Assert we do not overflow 4lvl page directories

2017-02-24 Thread Chris Wilson
Before looking up the page directory entry, check we are still within bounds. Signed-off-by: Chris Wilson Cc: Matthew Auld --- drivers/gpu/drm/i915/i915_gem_gtt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i91