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

Ghimiray, Himal Prasad himal.prasad.ghimiray at intel.com
Fri Dec 8 05:08:19 UTC 2023


On 07-12-2023 18:31, Thomas Hellström wrote:
>
> 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?

We will need to add  support for future dgfx platform during their 
enablement.

>
> /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