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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux