mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
intel/isl: Fix DecompressInL3 assignment on gfx12.5
* In the ACM PRMs, the programming notes under RENDER_SURFACE_STATE::MemoryCompressionEnable state that the DecompressInL3 bit must be set for media compression. * Unlike TGL, ACM seems to handle format reinterpretation just fine without using the bit. Update the assignment accordingly. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32192>
This commit is contained in:
parent
7e9ea5c1b5
commit
2dedd8dbb2
1 changed files with 8 additions and 1 deletions
|
|
@ -763,7 +763,14 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
|
|||
#endif
|
||||
#if GFX_VER == 12
|
||||
s.MemoryCompressionEnable = info->aux_usage == ISL_AUX_USAGE_MC;
|
||||
|
||||
#endif
|
||||
#if GFX_VERx10 == 125
|
||||
/* In the ACM PRMs, the programming notes under
|
||||
* RENDER_SURFACE_STATE::MemoryCompressionEnable state that the
|
||||
* following bit must be set for media compression.
|
||||
*/
|
||||
s.DecompressInL3 = info->aux_usage == ISL_AUX_USAGE_MC;
|
||||
#elif GFX_VERx10 == 120
|
||||
/* The Tiger Lake PRM for RENDER_SURFACE_STATE::DecompressInL3 says:
|
||||
*
|
||||
* When this field is set to 1h, the associated compressible surface,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue