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

Commit e594e3f1 authored by Samantha Tran's avatar Samantha Tran Committed by Gerrit - the friendly Code Review server
Browse files

Revert "drm/msm: Clean up dangling atomic_wq"



This reverts commit 74312fc7.

This reversion is happening as a result of disabling the
disp/dpu directory as it will not be used in 4.19 downstream
display driver and these changes are made in a common layer
which affects the downstream driver functionalities. Separate
patches are submitted to revert the upstream driver and
introduce the downstream version of the display driver.

Change-Id: I18ac33a3d1f11ffd48dfd95f5e89bfd4a6fcdc3c
Signed-off-by: default avatarSamantha Tran <samtran@codeaurora.org>
parent 1b6e54d6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -301,6 +301,9 @@ static int msm_drm_uninit(struct device *dev)
	flush_workqueue(priv->wq);
	destroy_workqueue(priv->wq);

	flush_workqueue(priv->atomic_wq);
	destroy_workqueue(priv->atomic_wq);

	if (kms && kms->funcs)
		kms->funcs->destroy(kms);

@@ -446,6 +449,7 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv)
	mdss = priv->mdss;

	priv->wq = alloc_ordered_workqueue("msm", 0);
	priv->atomic_wq = alloc_ordered_workqueue("msm:atomic", 0);

	INIT_LIST_HEAD(&priv->inactive_list);
	INIT_LIST_HEAD(&priv->vblank_ctrl.event_list);
+1 −0
Original line number Diff line number Diff line
@@ -121,6 +121,7 @@ struct msm_drm_private {
	struct list_head inactive_list;

	struct workqueue_struct *wq;
	struct workqueue_struct *atomic_wq;

	unsigned int num_planes;
	struct drm_plane *planes[MAX_PLANES];