From 41211cdb1fff1102c7724bffbea88100a3352030 Mon Sep 17 00:00:00 2001 From: Sandeep Panda Date: Wed, 9 Apr 2014 17:15:37 +0530 Subject: msm: mdss: Add support for dynamic mode switch Add support for switching between dsi command mode and video mode and vice versa at runtime. If the panel is configured in video mode, it would be power efficient to be able to dynamically switch to command mode on need basis. This change adds the support by providing an IOCTL to switch between video mode and command mode at runtime. Change-Id: I573c063556d68d631fe27cc2d1447522eceb7f2a Signed-off-by: Sandeep Panda --- include/uapi/linux/msm_mdp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 8300297dec35..2075a285622a 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -71,6 +71,7 @@ #define MSMFB_ASYNC_BLIT _IOW(MSMFB_IOCTL_MAGIC, 168, unsigned int) #define MSMFB_OVERLAY_PREPARE _IOWR(MSMFB_IOCTL_MAGIC, 169, \ struct mdp_overlay_list) +#define MSMFB_LPM_ENABLE _IOWR(MSMFB_IOCTL_MAGIC, 170, unsigned int) #define FB_TYPE_3D_PANEL 0x10101010 #define MDP_IMGTYPE2_START 0x10000 -- cgit v1.2.3