intel/dev: Set 'has_flat_ccs' flag for DG2

The code paths of flat ccs should be working on DG2 because
they are routed by other conditions like GFXVer so far. But
using this flag is the intended way, and we need to have
this change prior to updating these conditions with the flag.

Ref: 5262475242 ("intel/dev: Add a has_flat_ccs flag")

Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20043>
This commit is contained in:
Jianxun Zhang 2022-11-23 09:47:32 -08:00 committed by Marge Bot
parent 4db33adf9d
commit 93baad8047

View file

@ -1065,7 +1065,8 @@ static const struct intel_device_info intel_device_info_sg1 = {
.apply_hwconfig = true, \
.has_coarse_pixel_primitive_and_cb = true, \
.has_mesh_shading = true, \
.has_ray_tracing = true
.has_ray_tracing = true, \
.has_flat_ccs = true
static const struct intel_device_info intel_device_info_dg2_g10 = {
DG2_FEATURES,