intel/isl: Use an allow-list in gfx6_filter_tiling
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 30 Jul 2021 00:04:14 +0000 (17:04 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 25 Aug 2021 22:39:30 +0000 (22:39 +0000)
commit0ab2fa18e4b2d1303f7043c6841aa93020512224
treef0eb0d0b070626ac5e3bb4566027cdb72e43f610
parent602f597bc10a6f01f588130c5f0d1d24d655a6c7
intel/isl: Use an allow-list in gfx6_filter_tiling

Try to avoid having to update isl_gfx6_filter_tiling when new tilings
are added for new platforms. Note that the allow-list uses
ISL_TILING_ANY_Y_MASK and thus assumes that no new Y-tilings will be
added in the future.

Suggested-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12132>
src/intel/isl/isl_gfx7.c