i965/miptree: Use the correct BLT pitch
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 30 May 2018 23:32:07 +0000 (16:32 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jul 2018 02:16:30 +0000 (19:16 -0700)
commit0288fe8d0417730bdd5b3477130dd1dc32bdbcd3
tree3418c2b7bfe1b74dc51b11ae9cb1325dc08053cd
parent3df201e3e843b0c4fe810360f7e8b81de9c6a92a
i965/miptree: Use the correct BLT pitch

Retile miptrees to a linear tiling less often. Retiling can cause issues
with imported BOs.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106738
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c