intel/isl: Use DIM_LAYOUT_GEN4_2D for tiled 1-D surfaces on SKL
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Aug 2016 04:35:36 +0000 (21:35 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 25 Aug 2016 21:09:44 +0000 (14:09 -0700)
commitf68cfb05fa1ac9a6f5e0b921a7dce00e315fa52c
tree36cc08d5b63064bd3e73692ac012e3bdef2ffb78
parent78715c7211aa81a1b189c3a29df4b2b98d2e0fc3
intel/isl: Use DIM_LAYOUT_GEN4_2D for tiled 1-D surfaces on SKL

The Sky Lake 1D layout is only used if the surface is linear.  For tiled
surfaces such as depth and stencil the old gen4 2D layout is used.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/isl/isl.c