[Intel-gfx] [PATCH] drm/i915: Fix gen2 mappable calculations

Daniel Vetter daniel at ffwll.ch
Sun Feb 10 00:03:01 CET 2013


On Fri, Feb 08, 2013 at 11:32:47AM -0800, Ben Widawsky wrote:
> When I refactored the code initially, I forgot that gen2 uses a
> different bar for the CPU mappable aperture. The agp-less code knows
> nothing of generations less than 5, so we have to expand the gtt_probe
> function to include the mappable base and end.
> 
> It was originally broken by me:
> commit baa09f5fd8a6d033ec075355dda99a65b7f6a0f3
> Author: Ben Widawsky <ben at bwidawsk.net>
> Date:   Thu Jan 24 13:49:57 2013 -0800
> 
>     drm/i915: Add probe and remove to the gtt ops
> 
> Reported-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list