[Mesa-dev] [PATCH 2/2] intel: Fall back to X-tiling when larger than estimated aperture size.
Eric Anholt
eric at anholt.net
Wed Apr 10 16:42:18 PDT 2013
Kenneth Graunke <kenneth at whitecape.org> writes:
> If a region is larger than the estimated aperture size, we map/unmap it
> by copying with the BLT engine. Which means we can't use Y-tiling.
>
> Fixes Piglit max-texture-size and tex3d-maxsize, which regressed in my
> recent change to use Y-tiling by default on Gen6+. This was due to a
> botched merge conflict resolution.
>
> v2: Return a mask of valid tilings from intel_miptree_select_tiling.
> This allows us to avoid the X-tiling fallback if Y-tiling is actually
> mandatory.
Some day tiling format 3 will probably exist, but it doesn't for now so
this code works.
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/mesa-dev/attachments/20130410/dc8276a7/attachment.pgp>
More information about the mesa-dev
mailing list