Re: [PATCH v7 4/4] drm/i915: Allow user to set cache at BO creation

2023-05-15 Thread Tvrtko Ursulin
On 12/05/2023 20:54, Jordan Justen wrote: On 2023-05-10 15:14:16, Andi Shyti wrote: Hi, On Tue, May 09, 2023 at 09:59:42AM -0700, fei.y...@intel.com wrote: From: Fei Yang To comply with the design that buffer objects shall have immutable cache setting through out their life cycle, {set,

Re: [PATCH v7 4/4] drm/i915: Allow user to set cache at BO creation

2023-05-12 Thread Yang, Fei
> On 2023-05-10 15:14:16, Andi Shyti wrote: >> Hi, >> >> On Tue, May 09, 2023 at 09:59:42AM -0700, fei.y...@intel.com wrote: >>> From: Fei Yang >>> >>> To comply with the design that buffer objects shall have immutable >>> cache setting through out their life cycle, {set, get}_caching ioctl's >>>

Re: [PATCH v7 4/4] drm/i915: Allow user to set cache at BO creation

2023-05-12 Thread Jordan Justen
On 2023-05-10 15:14:16, Andi Shyti wrote: > Hi, > > On Tue, May 09, 2023 at 09:59:42AM -0700, fei.y...@intel.com wrote: > > From: Fei Yang > > > > To comply with the design that buffer objects shall have immutable > > cache setting through out their life cycle, {set, get}_caching ioctl's > >

Re: [PATCH v7 4/4] drm/i915: Allow user to set cache at BO creation

2023-05-10 Thread Andi Shyti
Hi, On Tue, May 09, 2023 at 09:59:42AM -0700, fei.y...@intel.com wrote: > From: Fei Yang > > 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

[PATCH v7 4/4] drm/i915: Allow user to set cache at BO creation

2023-05-09 Thread fei . yang
From: Fei Yang 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