From 93baad8047d951b3e17c0df09dfba37c4c2a04d2 Mon Sep 17 00:00:00 2001 From: Jianxun Zhang Date: Wed, 23 Nov 2022 09:47:32 -0800 Subject: [PATCH] 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: 5262475242b ("intel/dev: Add a has_flat_ccs flag") Signed-off-by: Jianxun Zhang Reviewed-by: Jordan Justen Reviewed-by: Nanley Chery Reviewed-by: Kenneth Graunke Part-of: --- src/intel/dev/intel_device_info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c index 1bca75ff63a..40e0f06140b 100644 --- a/src/intel/dev/intel_device_info.c +++ b/src/intel/dev/intel_device_info.c @@ -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,