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

Eric Anholt eric at anholt.net
Mon Jan 30 16:59:45 CET 2012


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120130/7a6434d0/attachment.sig>


More information about the Intel-gfx mailing list