Re: [Intel-gfx] [PATCH v4 08/61] drm/i915: Rework struct phys attachment handling

2020-10-30 Thread Thomas Hellström
On 10/16/20 12:43 PM, Maarten Lankhorst wrote: Instead of creating a separate object type, we make changes to the shmem type, to clear struct page backing. This will allow us to ensure we never run into a race when we exchange obj->ops with other function pointers. Signed-off-by: Maarten Lankho

[Intel-gfx] [PATCH v4 08/61] drm/i915: Rework struct phys attachment handling

2020-10-16 Thread Maarten Lankhorst
Instead of creating a separate object type, we make changes to the shmem type, to clear struct page backing. This will allow us to ensure we never run into a race when we exchange obj->ops with other function pointers. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/gem/i915_gem_object