[RFC PATCH 2/3] drm/xe/display: allow creation of case I915_FORMAT_MOD_4_TILED_XE2_CCS type framebuffer

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Tue May 7 16:41:42 UTC 2024


On 7.5.2024 19.07, Ville Syrjälä wrote:
> On Mon, May 06, 2024 at 09:52:37PM +0300, Juha-Pekka Heikkila wrote:
>> Add I915_FORMAT_MOD_4_TILED_XE2_CCS to possible created tiling for new framebuffer
>> on Xe driver.
>>
>> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
>> ---
>>   drivers/gpu/drm/xe/display/xe_plane_initial.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/xe/display/xe_plane_initial.c b/drivers/gpu/drm/xe/display/xe_plane_initial.c
>> index 9693c56d386b..59adcd15eb31 100644
>> --- a/drivers/gpu/drm/xe/display/xe_plane_initial.c
>> +++ b/drivers/gpu/drm/xe/display/xe_plane_initial.c
>> @@ -145,6 +145,7 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,
>>   	case I915_FORMAT_MOD_X_TILED:
>>   	case I915_FORMAT_MOD_Y_TILED:
>>   	case I915_FORMAT_MOD_4_TILED:
>> +	case I915_FORMAT_MOD_4_TILED_XE2_CCS:
> 
> Are we actually expecting GOP to enable compression?

This came in the wrong place, it's not needed here.

> 
>>   		break;
>>   	default:
>>   		drm_dbg(&dev_priv->drm,
>> -- 
>> 2.43.2
> 



More information about the Intel-gfx mailing list