[PATCH 2/2] drm/xe: Use 64K pages for scanout buffers for Xe2

Matthew Auld matthew.auld at intel.com
Tue Jul 9 11:26:15 UTC 2024


On 09/07/2024 12:12, Zbigniew Kempczyński wrote:
> Set Xe2 platforms to use 64K pages for display.
> 
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Matthew Auld <matthew.auld at intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> ---
>   drivers/gpu/drm/xe/xe_pci.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 53b67f39c7d5..b629145d23fa 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -177,6 +177,7 @@ static const struct xe_graphics_desc graphics_xe2 = {
>   	.name = "Xe2_LPG / Xe2_HPG",
>   
>   	XE2_GFX_FEATURES,
> +	.vram_flags = XE_VRAM_FLAGS_DISPLAY_NEED64K,

This change will also apply to lnl, but I don't think we have a way of 
forcefully getting 64K pages for system memory atm. Do we just need this 
for bmg or is it really all of xe2?

>   };
>   
>   static const struct xe_media_desc media_xem = {


More information about the Intel-xe mailing list