Re: [RFC 5/8] drm/i915: Improve the vm_fault_gtt user PAT index restriction

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

Re: [RFC 5/8] drm/i915: Improve the vm_fault_gtt user PAT index restriction

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

[RFC 5/8] drm/i915: Improve the vm_fault_gtt user PAT index restriction

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 vm_fault_gtt() to not reject the uncached PAT if it was set by userspace on a snoopable platform. Signed-off-by: Tvrtko Ursulin Cc: Fei Yang Cc: Matt Roper ---