[Intel-gfx] [intel-gfx][PATCH] intel: add a new interface drm_intel_bo_alloc_direct
Eric Anholt
eric at anholt.net
Wed May 26 22:52:52 CEST 2010
On Tue, 25 May 2010 13:06:50 +0800, "Xiang, Haihao" <haihao.xiang at intel.com> wrote:
> This interface is the same as drm_intel_bo_alloc except the allocated
> size isn't rounded up, so it bypasses the cache bucket.
>
> The size of the BO created by drm_intel_bo_alloc for a 1920x800,4:2:0 YUV
> planar surface is 4M, it is about 2.2M if using drm_intel_bo_alloc_direct.
You could just init a cache bucket of that size, and get BO caching with
no overhead and no new interfaces.
-------------- 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/20100526/ff9d8d68/attachment.sig>
More information about the Intel-gfx
mailing list