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

Commit 05aeac37 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm: Serialize gem creating in msm_gem_import"

parents 61e1ec40 53b7f7e2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -854,7 +854,9 @@ struct drm_gem_object *msm_gem_import(struct drm_device *dev,

	size = PAGE_ALIGN(size);

	mutex_lock(&dev->struct_mutex);
	ret = msm_gem_new_impl(dev, size, MSM_BO_WC, &obj);
	mutex_unlock(&dev->struct_mutex);
	if (ret)
		goto fail;