i965/blit: Break blits into chunks in intel_miptree_blit
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 24 Oct 2016 18:39:11 +0000 (11:39 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 27 Oct 2016 21:44:54 +0000 (14:44 -0700)
commit80d3af812935978f01c9bb6d02102140383c4034
tree8b64fc7a4599494fee8824adb53055f5f746c2e7
parentb7979a849bc185fbcab93a841eed692a10d61e25
i965/blit: Break blits into chunks in intel_miptree_blit

This allows us to blit much larger images than if we use the blitter
directly.  In particular, it gives us an almost infinite image height
compared to the fairly limiting 32k.  We do, however, still have a
restriction on stride of the image because handling larger strides, while
possible, is fairly difficult.

v2: Properly handle linear blit alignment restrictions

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/intel_blit.c