[Intel-gfx] [PATCH] drm/i915: Remove the upper limit on the bo size for mapping into the CPU domain

Daniel Vetter daniel at ffwll.ch
Mon Jan 30 17:56:17 CET 2012

On Mon, Jan 30, 2012 at 07:59:45AM -0800, Eric Anholt wrote:
> On Sun, 29 Jan 2012 16:52:05 +0000, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > The original intention of comparing the bo against the mappable GTT
> > limits was to prevent a subsequent faulting of the bo into the GTT from
> > clearing the entire GTT in vain. However, that was clearly a cut'n'paste
> > mistake as a CPU mapping never binds the bo into the aperture. Whilst
> > there may be some merit to limiting the maximum size of the bo to
> > something that can be utilized by the GPU, that limit itself does not
> > belong as a safeguard to mmapping the bo, so remove the check entirely.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Reviewed-by: Eric Anholt <eric at anholt.net>
Queued for -next, thanks for the patch.
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48

More information about the Intel-gfx mailing list