mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 09:30:20 +01:00
intel/isl: Remove inconsistency when choosing Tile64
We don't check the gfx version when choosing the tiling except when choosing Tile64. Drop the version check for consistency and to remove doubts about the order of operations occuring as expected within the CHOOSE macro. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Rohan Garg <rohan.garg@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28284>
This commit is contained in:
parent
f8e48b561e
commit
81d8c071ac
1 changed files with 4 additions and 2 deletions
|
|
@ -1114,7 +1114,8 @@ isl_surf_choose_tiling(const struct isl_device *dev,
|
|||
* shapes.
|
||||
*/
|
||||
if (info->usage & ISL_SURF_USAGE_SPARSE_BIT) {
|
||||
CHOOSE(ISL_GFX_VER(dev) >= 20 ? ISL_TILING_64_XE2 : ISL_TILING_64);
|
||||
CHOOSE(ISL_TILING_64_XE2);
|
||||
CHOOSE(ISL_TILING_64);
|
||||
CHOOSE(ISL_TILING_ICL_Ys);
|
||||
CHOOSE(ISL_TILING_SKL_Ys);
|
||||
}
|
||||
|
|
@ -1141,7 +1142,8 @@ isl_surf_choose_tiling(const struct isl_device *dev,
|
|||
CHOOSE(ISL_TILING_ICL_Yf);
|
||||
CHOOSE(ISL_TILING_SKL_Ys);
|
||||
CHOOSE(ISL_TILING_ICL_Ys);
|
||||
CHOOSE(ISL_GFX_VER(dev) >= 20 ? ISL_TILING_64_XE2 : ISL_TILING_64);
|
||||
CHOOSE(ISL_TILING_64);
|
||||
CHOOSE(ISL_TILING_64_XE2);
|
||||
|
||||
CHOOSE(ISL_TILING_X);
|
||||
CHOOSE(ISL_TILING_W);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue