i965/gen9: Add a condition for starting pixel in fast copy blit
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 24 Jul 2015 21:52:01 +0000 (14:52 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 28 Sep 2015 22:00:53 +0000 (15:00 -0700)
commit945592f92ca91e21307d10b657835d512bacf8b8
treee0fc80cf6d0ca8b0681fe9b52d6a0b162df6bc8d
parent1d8cba9b51b7a6e7dbf3f0d3f53b5c232fd0b5b2
i965/gen9: Add a condition for starting pixel in fast copy blit

This condition restricts the use of fast copy blit to cases
where starting pixel of src and dst is oword (16 byte) aligned.

Many piglit tests (if using fast copy blit in Mesa) failed earlier
because I missed adding this condition.Fast copy blit is currently
enabled for use only with Yf/Ys tiling.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/mesa/drivers/dri/i965/intel_blit.c