isl: Add and use isl_tiling_flag_to_enum()
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 14 Jan 2019 19:32:21 +0000 (11:32 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 28 Oct 2019 17:47:05 +0000 (10:47 -0700)
commit1e91280242d266758a0c59b5c2575d7d78ebfb91
tree6806c297707b0c6b987488f582dbc63324cde362
parent82822bc5497c2cf4643204d12cd0ed3f96ae72e1
isl: Add and use isl_tiling_flag_to_enum()

Use a helper that will automatically handle Gen12's CCS tiling when
creating a CCS isl_surf.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/isl/isl.c
src/intel/isl/isl.h