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

Commit 0e0722f4 authored by Amine Najahi's avatar Amine Najahi
Browse files

drm/msm: handle drm lastclose using downstream msm API



Use downstream API "msm_lastclose", instead of the
upstream one "drm_fb_helper_lastclose" to service msm
driver lastclose function pointer. Downstream API ensures
that objects and custom properties are cleared and internally
committed when the driver is closed.

Change-Id: Icf356ac47c15afb6ad7d0a62d96c06eb78c074f1
Signed-off-by: default avatarAmine Najahi <anajahi@codeaurora.org>
parent fe328cb4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1788,7 +1788,7 @@ static struct drm_driver msm_driver = {
	.open               = msm_open,
	.preclose           = msm_preclose,
	.postclose          = msm_postclose,
	.lastclose          = drm_fb_helper_lastclose,
	.lastclose          = msm_lastclose,
	.irq_handler        = msm_irq,
	.irq_preinstall     = msm_irq_preinstall,
	.irq_postinstall    = msm_irq_postinstall,