Hi Carl,

On Wed, May 31, 2023 at 12:24:07PM +0000, Zhang, Carl wrote:
> Hi Andi & Fei,
> We verified your change by UMD change:
> 1. implement the uAPI by
>  
> https://github.com/intel/media-driver/commit/92c00a857433ebb34ec575e9834f473c6fcb6341
> 2. old kernel may not support new uAPI, so UMD try the interface firstly, if 
> it failed, will fallback to older interfaces
> https://github.com/intel/media-driver/commit/fd375cf2c5e1f6bf6b43258ff797b3134aadc9fd
> 3. removed some check for CPU cacheable and PAT conflict 
>  
> https://github.com/intel/media-driver/commit/08dd244b22484770a33464c2c8ae85430e548000

Thanks a lot... we can add these commits in the log, as well.

> after that, UMD works with your patches serious on MTL.
> 
> Acked-by: Carl Zhang <[email protected]>
> Tested-by: Lihao Gu <[email protected]>

Thanks Carl and Lihao! Very appreciated :)

Andi

> Thanks
> Carl
> > -----Original Message-----
> > From: Andi Shyti <[email protected]>
> > Sent: Wednesday, May 31, 2023 6:49 PM
> > To: Yang, Fei <[email protected]>; Zhang, Carl <[email protected]>
> > Cc: [email protected]; [email protected]; Vivi,
> > Rodrigo <[email protected]>; [email protected]; Chris Wilson
> > <[email protected]>; Roper, Matthew D
> > <[email protected]>; Justen, Jordan L <[email protected]>
> > Subject: Re: [PATCH v12 1/1] drm/i915: Allow user to set cache at BO 
> > creation
> > 
> > Hi Carl,
> > 
> > On Wed, May 24, 2023 at 01:02:55PM -0700, [email protected] wrote:
> > > From: Fei Yang <[email protected]>
> > >
> > > To comply with the design that buffer objects shall have immutable
> > > cache setting through out their life cycle, {set, get}_caching ioctl's
> > > are no longer supported from MTL onward. With that change caching
> > > policy can only be set at object creation time. The current code
> > > applies a default (platform dependent) cache setting for all objects.
> > > However this is not optimal for performance tuning. The patch extends
> > > the existing gem_create uAPI to let user set PAT index for the object
> > > at creation time.
> > > The new extension is platform independent, so UMD's can switch to
> > > using this extension for older platforms as well, while {set,
> > > get}_caching are still supported on these legacy paltforms for 
> > > compatibility
> > reason.
> > >
> > > BSpec: 45101
> > >
> > > Test igt@gem_create@create_ext_set_pat posted at
> > > https://patchwork.freedesktop.org/series/118314/
> > >
> > > Tested with
> > > https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22878
> > >
> > > Signed-off-by: Fei Yang <[email protected]>
> > > Cc: Chris Wilson <[email protected]>
> > > Cc: Matt Roper <[email protected]>
> > > Cc: Andi Shyti <[email protected]>
> > > Reviewed-by: Andi Shyti <[email protected]>
> > > Acked-by: Jordan Justen <[email protected]>
> > > Tested-by: Jordan Justen <[email protected]>
> > 
> > was it your intention to ack this patch?
> > 
> > Thanks,
> > Andi
> 

Reply via email to