intel/dev: Add a has_flat_ccs flag

This should only be set on XeHP.  It implies that CCS works via based on
the virtual addresses involved and a flat memory carve-out, rather than
treating CCS like a surface, or using auxiliary maps.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14687>
This commit is contained in:
Kenneth Graunke 2021-11-28 01:06:16 -08:00 committed by Marge Bot
parent 3e0bffbad3
commit 5262475242

View file

@ -126,6 +126,12 @@ struct intel_device_info
bool has_surface_tile_offset;
bool supports_simd16_3src;
bool disable_ccs_repack;
/**
* True if CCS uses a flat virtual address translation to a memory
* carve-out, rather than aux map translations, or additional surfaces.
*/
bool has_flat_ccs;
bool has_aux_map;
bool has_tiling_uapi;
bool has_ray_tracing;