intel: Rename a RenderCompressionFormat field

The name of the bit field is CompressionFormat. The format subsections
of the field specify the alternate names of RenderCompressionFormat or
MediaCompressionFormat depending on the compression type.

We're going to start programming this field for media compression, so
we'd like to use either the bit field name or a new
MediaCompressionFormat field. Either option seems fine, so we go with
the first.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14355>
This commit is contained in:
Nanley Chery 2021-12-29 09:41:54 -05:00 committed by Marge Bot
parent d8c6b2c394
commit fde43bb194
2 changed files with 2 additions and 2 deletions

View file

@ -863,7 +863,7 @@
<field name="Clear Value Address Enable" start="330" end="330" type="bool"/>
<field name="Caching Expanded Formats" start="331" end="331" type="uint"/>
<field name="Auxiliary Surface Base Address" start="332" end="383" type="address"/>
<field name="Render Compression Format" start="384" end="388" type="uint"/>
<field name="Compression Format" start="384" end="388" type="uint"/>
<field name="Clear Value Address" start="390" end="431" type="address"/>
</struct>

View file

@ -552,7 +552,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
}
#if GFX_VERx10 >= 125
s.RenderCompressionFormat =
s.CompressionFormat =
isl_get_render_compression_format(info->surf->format);
#endif
#if GFX_VER >= 12