[PATCH v6 9/9] drm/xe/xe2: Support flat ccs

Thomas Hellström thomas.hellstrom at linux.intel.com
Thu Dec 7 13:01:52 UTC 2023


On 12/7/23 10:19, Himal Prasad Ghimiray wrote:

> Enable flat ccs for XE2_GFX_FEATURES.
>
> Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>

What happens when we run this on XE2 | DGFX?

/Thomas



> ---
>   drivers/gpu/drm/xe/xe_pci.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 2186ebfbe05c..c3032143096f 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -164,7 +164,7 @@ static const struct xe_graphics_desc graphics_xelpg = {
>   #define XE2_GFX_FEATURES \
>   	.dma_mask_size = 46, \
>   	.has_asid = 1, \
> -	.has_flat_ccs = 0 /* FIXME: implementation missing */, \
> +	.has_flat_ccs = 1, \
>   	.has_range_tlb_invalidation = 1, \
>   	.supports_usm = 0 /* FIXME: implementation missing */, \
>   	.va_bits = 48, \



More information about the Intel-xe mailing list