Re: [Intel-gfx] [PATCH v9 28/70] drm/i915: Take obj lock around set_domain ioctl

2021-03-24 Thread Daniel Vetter
On Tue, Mar 23, 2021 at 04:50:17PM +0100, Maarten Lankhorst wrote: > We need to lock the object to move it to the correct domain, > add the missing lock. > > Signed-off-by: Maarten Lankhorst > Reviewed-by: Thomas Hellström This conflicted real bad with the in-flight -gt-next stuff that wasn't r

[Intel-gfx] [PATCH v9 28/70] drm/i915: Take obj lock around set_domain ioctl

2021-03-23 Thread Maarten Lankhorst
We need to lock the object to move it to the correct domain, add the missing lock. Signed-off-by: Maarten Lankhorst Reviewed-by: Thomas Hellström --- drivers/gpu/drm/i915/gem/i915_gem_domain.c | 41 ++ 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/drivers/g