android_kernel_google_msm/drivers/video/msm/mipi_JDI.h
Zhao Wei Liew 201c6611ea video: msm: Add more JDI display features
* Add auto contrast optimization.
 * Add 3 intensity levels for SRE.
 * Combine all the CABC commands.
 * Slight clean up.

Change-Id: I6eef9cd79024bf0e13f48faba8dcfce1765f42d1
Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
2016-10-29 23:12:09 +08:00

31 lines
845 B
C

/* Copyright (c) 2010, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef MIPI_JDI_H
#define MIPI_JDI_H
int mipi_JDI_device_register(struct msm_panel_info *pinfo,
u32 channel, u32 panel);
enum {
CABC_OFF = 0x00,
CABC_UI = 0x01,
CABC_IMAGE = 0x02,
CABC_VIDEO = 0x03,
SRE_WEAK = 0x50,
SRE_MEDIUM = 0x60,
SRE_STRONG = 0X70,
CABC_ACO = 0x80,
};
#endif /* MIPI_JDI_H */