anv: rename aux_tt image field
We'll add more to the sub-struct Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27304> (cherry picked from commit eead86ad8e353234f47e00fb25b393dddb15106c)
This commit is contained in:
parent
66d3b00eaa
commit
8be6eab836
3 changed files with 7 additions and 4 deletions
|
|
@ -574,7 +574,7 @@
|
|||
"description": "anv: rename aux_tt image field",
|
||||
"nominated": false,
|
||||
"nomination_type": 3,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1767,7 +1767,7 @@ anv_image_finish(struct anv_image *image)
|
|||
* mapping.
|
||||
*/
|
||||
for (int p = 0; p < image->n_planes; ++p) {
|
||||
if (!image->planes[p].aux_ccs_mapped)
|
||||
if (!image->planes[p].aux_tt.mapped)
|
||||
continue;
|
||||
|
||||
const struct anv_address main_addr =
|
||||
|
|
@ -2267,7 +2267,7 @@ anv_image_map_aux_tt(struct anv_device *device,
|
|||
anv_address_physical(main_addr),
|
||||
anv_address_physical(aux_addr),
|
||||
surf->size_B, format_bits)) {
|
||||
image->planes[plane].aux_ccs_mapped = true;
|
||||
image->planes[plane].aux_tt.mapped = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5016,7 +5016,10 @@ struct anv_image {
|
|||
*/
|
||||
bool can_non_zero_fast_clear;
|
||||
|
||||
bool aux_ccs_mapped;
|
||||
struct {
|
||||
/** Whether the image has CCS data mapped through AUX-TT. */
|
||||
bool mapped;
|
||||
} aux_tt;
|
||||
} planes[3];
|
||||
|
||||
struct anv_image_memory_range vid_dmv_top_surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue