Re: [Intel-gfx] [PATCH v12 1/1] drm/i915: Allow user to set cache at BO creation

2023-05-31 Thread Andi Shyti
Hi Carl, On Wed, May 31, 2023 at 12:24:07PM +, 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 tr

Re: [Intel-gfx] [PATCH v12 1/1] drm/i915: Allow user to set cache at BO creation

2023-05-31 Thread Zhang, Carl
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://g

Re: [Intel-gfx] [PATCH v12 1/1] drm/i915: Allow user to set cache at BO creation

2023-05-31 Thread Andi Shyti
Hi Carl, On Wed, May 24, 2023 at 01:02:55PM -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 chang

[Intel-gfx] [PATCH v12 1/1] drm/i915: Allow user to set cache at BO creation

2023-05-24 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 def