RE: [PATCH 5/7] drm/i915: use pat_index instead of cache_level

2023-04-05 Thread Yang, Fei
> On Mon, Apr 03, 2023 at 07:39:37PM +, Yang, Fei wrote: >>> Subject: Re: [PATCH 5/7] drm/i915: use pat_index instead of cache_level >>> >>> On Mon, Apr 03, 2023 at 04:57:21PM +, Yang, Fei wrote: >>>>> Subject: Re: [PATCH 5/7] drm/i91

Re: [PATCH 5/7] drm/i915: use pat_index instead of cache_level

2023-04-03 Thread Ville Syrjälä
On Mon, Apr 03, 2023 at 07:39:37PM +, Yang, Fei wrote: > >Subject: Re: [PATCH 5/7] drm/i915: use pat_index instead of cache_level > > > >On Mon, Apr 03, 2023 at 04:57:21PM +, Yang, Fei wrote: > >>> Subject: Re: [PATCH 5/7] drm/i915: use pat_index instead of &g

RE: [PATCH 5/7] drm/i915: use pat_index instead of cache_level

2023-04-03 Thread Yang, Fei
>Subject: Re: [PATCH 5/7] drm/i915: use pat_index instead of cache_level > >On Mon, Apr 03, 2023 at 04:57:21PM +, Yang, Fei wrote: >>> Subject: Re: [PATCH 5/7] drm/i915: use pat_index instead of >>> cache_level >>> >>> On Fri, Mar 31, 2023

Re: [PATCH 5/7] drm/i915: use pat_index instead of cache_level

2023-04-03 Thread Ville Syrjälä
On Mon, Apr 03, 2023 at 04:57:21PM +, Yang, Fei wrote: > > Subject: Re: [PATCH 5/7] drm/i915: use pat_index instead of cache_level > > > > On Fri, Mar 31, 2023 at 11:38:28PM -0700, fei.y...@intel.com wrote: > >> From: Fei Yang > >> > >> Currently

RE: [PATCH 5/7] drm/i915: use pat_index instead of cache_level

2023-04-03 Thread Yang, Fei
> Subject: Re: [PATCH 5/7] drm/i915: use pat_index instead of cache_level > > On Fri, Mar 31, 2023 at 11:38:28PM -0700, fei.y...@intel.com wrote: >> From: Fei Yang >> >> Currently the KMD is using enum i915_cache_level to set caching policy for >> buffer objec

Re: [PATCH 5/7] drm/i915: use pat_index instead of cache_level

2023-04-03 Thread Ville Syrjälä
On Fri, Mar 31, 2023 at 11:38:28PM -0700, fei.y...@intel.com wrote: > From: Fei Yang > > Currently the KMD is using enum i915_cache_level to set caching policy for > buffer objects. This is flaky because the PAT index which really controls > the caching behavior in PTE has far more levels than wh

[PATCH 5/7] drm/i915: use pat_index instead of cache_level

2023-03-31 Thread fei . yang
From: Fei Yang Currently the KMD is using enum i915_cache_level to set caching policy for buffer objects. This is flaky because the PAT index which really controls the caching behavior in PTE has far more levels than what's defined in the enum. In addition, the PAT index is platform dependent, ha