[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 12:06:25 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.

I think we should skip this path if it's a depth buffer, since falling
back to X there is even worse than not blitting on a map or validate.

Perhaps this could do so if !force_y_tiling, and set force_y_tiling for
gen4+ depth buffers?

Patch 1 is:

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/47e2ccf4/attachment.pgp>


More information about the mesa-dev mailing list