[Freedreno] [PATCH RESEND 04/10] drm/msm: Remove smmu driver init/cleanup from msm_drv

Sean Paul seanpaul at chromium.org
Wed Feb 21 15:18:32 UTC 2018


Leftover bits from the initial removal of smmu.

Signed-off-by: Sean Paul <seanpaul at chromium.org>
---
 drivers/gpu/drm/msm/msm_drv.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index 106678a164c2..9532321a0e4f 100644
--- a/drivers/gpu/drm/msm/msm_drv.c
+++ b/drivers/gpu/drm/msm/msm_drv.c
@@ -1966,9 +1966,6 @@ static int __init msm_drm_register(void)
 
 	DBG("init");
 	msm_mdp_register();
-#ifdef CONFIG_DRM_MSM_DPU
-	msm_smmu_driver_init();
-#endif
 	msm_dsi_register();
 	msm_edp_register();
 	msm_hdmi_register();
@@ -1985,9 +1982,6 @@ static void __exit msm_drm_unregister(void)
 	msm_edp_unregister();
 	msm_dsi_unregister();
 	msm_mdp_unregister();
-#ifdef CONFIG_DRM_MSM_DPU
-	msm_smmu_driver_cleanup();
-#endif
 }
 
 module_init(msm_drm_register);
-- 
2.16.1.291.g4437f3f132-goog



More information about the Freedreno mailing list