i965: Disallow linear blits that are not cacheline aligned.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Apr 2015 19:32:38 +0000 (12:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Apr 2015 21:16:57 +0000 (14:16 -0700)
commit5957da1edb9ad504d8af83878c10c3a24e41fc6c
treef297bbf82577da46c7c3febf929c9edccf70e9cf
parent8c17d53823c77ac1c56b0548e4e54f69a33285f1
i965: Disallow linear blits that are not cacheline aligned.

The BLT engine on Gen8+ requires linear surfaces to be cacheline
aligned.  This restriction was added as part of converting the BLT to
use 48-bit addressing.

The main user, intel_emit_linear_blit, now handles this properly.
But we might also have linear miptrees; just refuse to blit those.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88521
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/intel_blit.c