Re: [RFC 7/8] drm/i915: Lift the user PAT restriction from use_cpu_reloc

2023-07-28 Thread Tvrtko Ursulin
On 28/07/2023 01:09, Matt Roper wrote: On Thu, Jul 27, 2023 at 03:55:03PM +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Now that i915 understands the caching modes behind PAT indices, we can refine the check in use_cpu_reloc() to not reject the uncached PAT if it was set by userspace. I

Re: [RFC 7/8] drm/i915: Lift the user PAT restriction from use_cpu_reloc

2023-07-27 Thread Matt Roper
On Thu, Jul 27, 2023 at 03:55:03PM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Now that i915 understands the caching modes behind PAT indices, we can > refine the check in use_cpu_reloc() to not reject the uncached PAT if it > was set by userspace. > > Instead it can decide based on

[RFC 7/8] drm/i915: Lift the user PAT restriction from use_cpu_reloc

2023-07-27 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Now that i915 understands the caching modes behind PAT indices, we can refine the check in use_cpu_reloc() to not reject the uncached PAT if it was set by userspace. Instead it can decide based on the presence of full coherency which should be functionally equivalent on lega