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

Commit 09d12e6c authored by Abhinav Kumar's avatar Abhinav Kumar
Browse files

drm/msm: add mdss_smmu_request_mappings definition for non-FB targets



SDE rotator uses V4L2 target. Currently mdss_smmu_request_mappings
is defined only within the FB driver. For targets not using FB
this shall cause compilation issue.

Add definition of mdss_smmu_request_mappings for DRM based devices.

Change-Id: I26ef267802845236193b4c2688712e37a178e6cb
Signed-off-by: default avatarAbhinav Kumar <abhinavk@codeaurora.org>
parent d72462d9
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -45,6 +45,13 @@ struct sde_smmu_domain {
	unsigned long size;
};

#ifndef CONFIG_FB_MSM_MDSS
int mdss_smmu_request_mappings(msm_smmu_handler_t callback)
{
	return 0;
}
#endif

int sde_smmu_set_dma_direction(int dir)
{
	struct sde_rot_data_type *mdata = sde_rot_get_mdata();