i965/miptree: Fix can_blit_slice()
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 23 Jul 2018 17:09:20 +0000 (10:09 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 22 Aug 2018 20:53:02 +0000 (13:53 -0700)
commitb041fc06491f4a017458df4a58d4ac519bb3bc94
tree85b8f85e47ca62221a65c1aefc783ffbda72cd97
parent030b6efcfdeff5cc079d5b6d8e682e180570ce71
i965/miptree: Fix can_blit_slice()

Check the destination's row pitch against the BLT engine's row pitch
limitation as well.

Fixes: 0288fe8d0417730bdd5b3477130dd1dc32bdbcd3
("i965/miptree: Use the correct BLT pitch")

v2: Fix the Fixes tag (Dylan).
    Check the destination row pitch (Chris).

Reported-by: Dylan Baker <dylan@pnwbakers.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c