diff options
| author | Wengang Wu <wgw@motorola.com> | 2014-05-15 12:09:23 -0500 |
|---|---|---|
| committer | Wengang Wu <wgw@motorola.com> | 2014-05-20 00:50:02 +0000 |
| commit | 7cb6941f44acdf142aed3c0feb7e28a9b712ac91 (patch) | |
| tree | 4e85fab1e2d7fdd4ae5538a43728d5bf710416d6 /drivers/gpu | |
| parent | 2f31b672dbf04ca02af624db49b873b5cee47348 (diff) | |
| download | olio-linux-3.10-7cb6941f44acdf142aed3c0feb7e28a9b712ac91.tar.xz olio-linux-3.10-7cb6941f44acdf142aed3c0feb7e28a9b712ac91.zip | |
IKXCLOCK-1342 Display: support new cut 2.1 panel and new timing for bluetooth defense
1. support panel determination to apply different settings
2. apply new timing settings for bluetooth defense, current MIPI TX HS CLK setting are:
OMAP = 104 MHz, SOLOMON = 108.3 MHz
3. sync initial setting data for both boot-loader and kernel, and pass panel type from boot-loader
Change-Id: Iff9dacb738829a0739373b85ee913cd214d4bd50
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/pvr/Makefile | 3 | ||||
| -rw-r--r-- | drivers/gpu/pvr/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/Makefile b/drivers/gpu/pvr/Makefile index a848a8c79ec..11f512373f8 100644 --- a/drivers/gpu/pvr/Makefile +++ b/drivers/gpu/pvr/Makefile @@ -52,7 +52,8 @@ ccflags-y = -Idrivers/video/omap2 \ ccflags-$(CONFIG_SGX_OMAP3630) += \ -Idrivers/gpu/pvr/services4/system/omap3630 \ -DSGX530 -DSUPPORT_SGX530 -DSGXCORE=530 \ - -DSGX_CORE_REV=125 + -DSGX_CORE_REV=125 \ + -DSKIP_FIRST_FLIP_BUFS=4 ccflags-$(CONFIG_SGX_BUILD_RELEASE) += \ -DPVR_BUILD_TYPE="\"release\"" \ diff --git a/drivers/gpu/pvr/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c b/drivers/gpu/pvr/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c index 9525688ab40..ce3c8cbd38f 100644 --- a/drivers/gpu/pvr/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c +++ b/drivers/gpu/pvr/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c @@ -334,6 +334,16 @@ void OMAPLFBFlip(OMAPLFB_DEVINFO *psDevInfo, OMAPLFB_BUFFER *psBuffer) struct fb_var_screeninfo sFBVar; int res; unsigned long ulYResVirtual; +#ifdef SKIP_FIRST_FLIP_BUFS + /* Skip first n numbers of flip buffers to avoid draw blank screen + * that occurred flicker at first time booting up + */ + static unsigned int skip_flips = SKIP_FIRST_FLIP_BUFS; + if (skip_flips) { + --skip_flips; + return; + } +#endif OMAPLFB_CONSOLE_LOCK(); |