Re: [PATCH v6 2/2] drm/xe/lnl: Offload system clear page activity to GPU

2024-08-20 Thread Thomas Hellström
Hi, Nirmoy, On Mon, 2024-08-19 at 18:01 +0200, Nirmoy Das wrote: > > On 8/19/2024 1:05 PM, Matthew Auld wrote: > > On 16/08/2024 14:51, Nirmoy Das wrote: > > > On LNL because of flat CCS, driver creates migrates job to clear > > > CCS meta data. Extend that to also clear system pages using GPU. >

Re: [PATCH v6 2/2] drm/xe/lnl: Offload system clear page activity to GPU

2024-08-19 Thread Nirmoy Das
On 8/19/2024 1:05 PM, Matthew Auld wrote: On 16/08/2024 14:51, Nirmoy Das wrote: On LNL because of flat CCS, driver creates migrates job to clear CCS meta data. Extend that to also clear system pages using GPU. Inform TTM to allocate pages without __GFP_ZERO to avoid double page clearing by cl

Re: [PATCH v6 2/2] drm/xe/lnl: Offload system clear page activity to GPU

2024-08-19 Thread Matthew Auld
On 16/08/2024 14:51, Nirmoy Das wrote: On LNL because of flat CCS, driver creates migrates job to clear CCS meta data. Extend that to also clear system pages using GPU. Inform TTM to allocate pages without __GFP_ZERO to avoid double page clearing by clearing out TTM_TT_FLAG_ZERO_ALLOC flag and se

[PATCH v6 2/2] drm/xe/lnl: Offload system clear page activity to GPU

2024-08-16 Thread Nirmoy Das
On LNL because of flat CCS, driver creates migrates job to clear CCS meta data. Extend that to also clear system pages using GPU. Inform TTM to allocate pages without __GFP_ZERO to avoid double page clearing by clearing out TTM_TT_FLAG_ZERO_ALLOC flag and set TTM_TT_FLAG_CLEARED_ON_FREE while freei