Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5004417d authored by Pierre Willenbrock's avatar Pierre Willenbrock Committed by Dave Airlie
Browse files

drm/i915: Add missing mutex_lock(&dev->struct_mutex)



there might be a nicer way to fix this but this is the simplest for now.

Signed-off-by: default avatarPierre Willenbrock <pierre@pirsoft.de>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 6fb88588
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1008,6 +1008,7 @@ static int intel_crtc_cursor_set(struct drm_crtc *crtc,
		temp = CURSOR_MODE_DISABLE;
		addr = 0;
		bo = NULL;
		mutex_lock(&dev->struct_mutex);
		goto finish;
	}