[Intel-gfx] [PATCH 1/8] drm/i915/mtl: Define MOCS and PAT tables for MTL

2023-04-07 Thread fei . yang
From: Fei Yang On MTL, GT can no longer allocate on LLC - only the CPU can. This, along with addition of support for ADM/L4 cache calls a MOCS/PAT table update. Also defines PTE encode functions for MTL as it has different PAT index definition than previous platforms. BSpec: 44509, 45101, 44235

Re: [Intel-gfx] [PATCH 1/8] drm/i915/mtl: Define MOCS and PAT tables for MTL

2023-04-10 Thread Matt Roper
On Fri, Apr 07, 2023 at 12:12:29AM -0700, fei.y...@intel.com wrote: > From: Fei Yang > > On MTL, GT can no longer allocate on LLC - only the CPU can. > This, along with addition of support for ADM/L4 cache calls a > MOCS/PAT table update. Also defines PTE encode functions for > MTL as it has diff

Re: [Intel-gfx] [PATCH 1/8] drm/i915/mtl: Define MOCS and PAT tables for MTL

2023-04-10 Thread Yang, Fei
>Subject: Re: [Intel-gfx] [PATCH 1/8] drm/i915/mtl: Define MOCS and PAT tables >for MTL > > On Fri, Apr 07, 2023 at 12:12:29AM -0700, > fei.y...@intel.com<mailto:fei.y...@intel.com> wrote: >> From: Fei Yang fei.y...@intel.com<mailto:fei.y...@intel.com> >>

Re: [Intel-gfx] [PATCH 1/8] drm/i915/mtl: Define MOCS and PAT tables for MTL

2023-04-11 Thread Matt Roper
On Mon, Apr 10, 2023 at 08:55:16PM -0700, Yang, Fei wrote: ... >>> diff --git a/drivers/gpu/drm/i915/gt/intel_gtt.h > >>> b/drivers/gpu/drm/i915/gt/intel_gtt.h > >>> index 69ce55f517f5..b632167eaf2e 100644 > >>> --- a/drivers/gpu/drm/i915/gt/intel_gtt.h > >>> +++ b/drivers/g

Re: [Intel-gfx] [PATCH 1/8] drm/i915/mtl: Define MOCS and PAT tables for MTL

2023-04-11 Thread Yang, Fei
> Subject: Re: [Intel-gfx] [PATCH 1/8] drm/i915/mtl: Define MOCS and PAT tables > for MTL > > On Mon, Apr 10, 2023 at 08:55:16PM -0700, Yang, Fei wrote: > ... >>>> diff --git a/drivers/gpu/drm/i915/gt/intel_gtt.h >> >>>> b/drivers/gpu/drm/i