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

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

Merge "msm: mdss: Modify check for supported ioctls"

parents 37b0e480 a7613cca
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4646,6 +4646,12 @@ static int __ioctl_wait_idle(struct msm_fb_data_type *mfd, u32 cmd)
	return ret;
}

#ifdef TARGET_HW_MDSS_MDP3
static bool check_not_supported_ioctl(u32 cmd)
{
	return false;
}
#else
static bool check_not_supported_ioctl(u32 cmd)
{
	return((cmd == MSMFB_OVERLAY_SET) || (cmd == MSMFB_OVERLAY_UNSET) ||
@@ -4654,6 +4660,7 @@ static bool check_not_supported_ioctl(u32 cmd)
		(cmd == MSMFB_BUFFER_SYNC) || (cmd == MSMFB_OVERLAY_QUEUE) ||
		(cmd == MSMFB_NOTIFY_UPDATE));
}
#endif

/*
 * mdss_fb_do_ioctl() - MDSS Framebuffer ioctl function