mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 07:30:30 +01:00
intel/genxml: Remove W-tiling on gen12
It's no longer supported by the hardware Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
This commit is contained in:
parent
523ba0a3e7
commit
9dd9c3363b
2 changed files with 3 additions and 1 deletions
|
|
@ -678,7 +678,6 @@
|
|||
<field name="Vertical Line Stride" start="11" end="11" type="uint"/>
|
||||
<field name="Tile Mode" start="12" end="13" type="uint">
|
||||
<value name="LINEAR" value="0"/>
|
||||
<value name="WMAJOR" value="1"/>
|
||||
<value name="XMAJOR" value="2"/>
|
||||
<value name="YMAJOR" value="3"/>
|
||||
</field>
|
||||
|
|
|
|||
|
|
@ -72,7 +72,9 @@ static const uint8_t isl_to_gen_tiling[] = {
|
|||
[ISL_TILING_Y0] = YMAJOR,
|
||||
[ISL_TILING_Yf] = YMAJOR,
|
||||
[ISL_TILING_Ys] = YMAJOR,
|
||||
#if GEN_GEN <= 11
|
||||
[ISL_TILING_W] = WMAJOR,
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
@ -447,6 +449,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
|
|||
#endif
|
||||
|
||||
#if GEN_GEN >= 8
|
||||
assert(GEN_GEN < 12 || info->surf->tiling != ISL_TILING_W);
|
||||
s.TileMode = isl_to_gen_tiling[info->surf->tiling];
|
||||
#else
|
||||
s.TiledSurface = info->surf->tiling != ISL_TILING_LINEAR,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue