i965/gen9: Fix {src, dst}_pitch alignment check for XY_FAST_COPY_BLT
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 11 Aug 2015 23:36:44 +0000 (16:36 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 28 Sep 2015 19:43:43 +0000 (12:43 -0700)
commit0bfd914f9f02c85a4ad8e6892f1a31e37c14f2b2
tree7974c3004b2182e28228efa35abde1a24e9db6de
parent0fa39bff19dc2fbd3c184bd0e1267c86bd5040d9
i965/gen9: Fix {src, dst}_pitch alignment check for XY_FAST_COPY_BLT

I misinterpreted the alignmnet restriction in XY_FAST_COPY_BLT earlier.
Instead of checking pitch for 64KB alignmnet we need to check it for
tile widh alignment.

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