intel/isl: Avoid tiling some 16K-wide render targets
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 27 Jul 2018 22:34:05 +0000 (15:34 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 22 Aug 2018 20:53:19 +0000 (13:53 -0700)
commit6d80b0b4bae53efbfa4b654a44c6279f5cc9402c
tree78932f103df72c5a99335820a44ec140bf26e773
parentb041fc06491f4a017458df4a58d4ac519bb3bc94
intel/isl: Avoid tiling some 16K-wide render targets

Fix rendering issues on BDW and SKL.

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

Fixes the following regressions seen

exclusively on SKL:
* KHR-GL46.texture_barrier_ARB.disjoint-texels
* KHR-GL46.texture_barrier_ARB.overlapping-texels
* KHR-GL46.texture_barrier.disjoint-texels
* KHR-GL46.texture_barrier.overlapping-texels

and both on BDW and SKL:
* GTF-GL46.gtf21.GL2FixedTests.buffer_corners.buffer_corners
* GTF-GL46.gtf21.GL2FixedTests.stencil_plane_corners.stencil_plane_corners

v2: Note the fixed tests (Andres).
    Don't cause failures with multisampled buffers (Andres).
    Don't hamper SKL GT4 (Ken).
v3: Fix the Fixes tag (Dylan).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107359
Cc: <mesa-stable@lists.freedesktop.org>
Tested-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/isl/isl_gen7.c