mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-11 02:40:39 +01:00
isl/drm: Map HiZ and CCS tilings to Y
In the function which translates ISL tilings to i915 tilings, map ISL's HiZ and CCS tilings to Y instead of NONE (linear). The HW docs describe HiZ and pre-Gen12 CCS surfaces as being Y-tiled in memory. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
901bed5122
commit
22be1447bb
1 changed files with 2 additions and 2 deletions
|
|
@ -41,13 +41,13 @@ isl_tiling_to_i915_tiling(enum isl_tiling tiling)
|
|||
return I915_TILING_X;
|
||||
|
||||
case ISL_TILING_Y0:
|
||||
case ISL_TILING_HIZ:
|
||||
case ISL_TILING_CCS:
|
||||
return I915_TILING_Y;
|
||||
|
||||
case ISL_TILING_W:
|
||||
case ISL_TILING_Yf:
|
||||
case ISL_TILING_Ys:
|
||||
case ISL_TILING_HIZ:
|
||||
case ISL_TILING_CCS:
|
||||
return I915_TILING_NONE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue