Clone hammerhead_defconfig to cyanogenmod_hammerhead_defconfig

*Added "-cyanogenmod" localversion
mm: Remove __init annotations from free_bootmem_late

free_bootmem_late is currently set up to only be used in init
functions. Some clients need to use this function past initcalls.
The functions themselves have no restrictions on being used later
minus the __init annotations so remove the annotation.

Change-Id: I7c7e15cf2780a8843ebb4610da5b633c9abb0b3d
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: mdss: Import from CAF kk_3.5

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: mdss: Fix compile errors

Signed-off-by: Sultanxda <sultanxda@gmail.com>
introduce kref_put_mutex()

equivalent of
	mutex_lock(mutex);
	if (!kref_put(kref, release))
		mutex_unlock(mutex);

Change-Id: I05d61a7380eb29fbf12f634bcff5ac1072e13765
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[mitchelh@codeaurora.org: trivial conflict due to moved code]
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
msm: mdss: Adding lcd notifier

Supports notifier for start&end of LCD power on&off

Change-Id: Idaa685a2c554286da5f764519305d830c4d1a1bd
Signed-off-by: Se Hun Kim <sean2.kim@lge.com>
Signed-off-by: Jongrak Kwon <jongrak.kwon@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
msm: mdss: backlight control for lm3630

Change-Id: Ia2357aeec7eabfd3a4f83d0c426d4b762b4e25d8
msm: mdss: Switch back to previous hdmi drivers for now
msm: mdss: modified the LCD poweroff sequence timing

JDI LCD might get damage due to overcurrent on power off.
So change power off sequence to avoid this issue.

Change-Id: Ib3ed77e85d80121289d09b98bc5b42d614686980
Signed-off-by: sooduek.kim <sooduek.kim@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
arm/dts: hammerhead: Add JDI 1080p command mode panel config

Use a seperate config file. Move some stuff around an apply
a cleanup.

Change-Id: I0cc38bfa12a99f060ac48ffaf6b71965fee3e08e
arm/dts: hammerhead: Set panel name

Change-Id: I7f0f460050b3ab60abfc631a5933e88a9d951b56
ARM: dts: hammerhead: Delete msm8974-hammerhead-panel.dtsi

This is no longer used.
ARM: dts: hammerhead: Update JDI panel parameters for CAF kk_3.5 mdss

*Fixed up some params for the new framebuffer drivers
*Enabled dsi burst mode
*Removed redundant params (params that were set to default CAF values)
*Disabled ULPS mode (buggy)

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm: mdss_fb: Add back LGE's crash handler & off-mode charge hack
LCD_KCAL: Color Control driver for Nexus 5

Change-Id: Icea713b84ccf5dc87cd80eafd7363deffb438565
Signed-off-by: Lorenzo M <djmesias@yahoo.es>
msm: mdss: Update pp LUT preset on overlay start

We must update our post processor LUT to apply color calibration
presets whenever overlay is started.

Change-Id: I312afcb6a5e7cc814c201088c4a93bb8060c3a22
cyanogenmod_hammerhead_defconfig: Enable LCD KCAL
devfreq: Import from CAF kk_3.5

Signed-off-by: Sultanxda <sultanxda@gmail.com>
gpu: msm: Import from CAF kk_3.5

Signed-off-by: Sultanxda <sultanxda@gmail.com>
iommu: Import from CAF kk_3.5

Signed-off-by: Sultanxda <sultanxda@gmail.com>