Revert "video: msm_fb: Ensure backlight is scaled atomically"

This reverts commit 5efdbf5b5b308a18d80ff6eae6d391c3a620f0e3.

Conflicts:
	drivers/video/msm/msm_fb.c

Conflicts:
	drivers/video/msm/msm_fb.c
Revert "video: msm: Add user-defined backlight scaling"

This reverts commit 3c12fb01bb6581d68f75dfd559fd92ad42837685.

Conflicts:
	drivers/video/msm/msm_fb.c
	include/linux/msm_mdp.h
Revert "msm_fb: display: Add backlight with first pan display after resume"

This reverts commit 6a75b86e9f0707f46f0fd161481da25235bd037c.

Conflicts:
	drivers/video/msm/mipi_novatek.c
	drivers/video/msm/msm_fb.c

Conflicts:
	drivers/video/msm/mipi_novatek.c
	drivers/video/msm/msm_fb.c
Revert "msm_fb: display: perform backlight updates on overlay play"

This reverts commit da2f3cc0003c55cd18d6f052ecb9530fe2acea9a.

Conflicts:
	drivers/video/msm/msm_fb.c

Conflicts:
	drivers/video/msm/msm_fb.c
msm_fb: call the backlight control before FB_BLANK_POWERDOWN

You might see the white line while lcd off. You should turn lcd backlight
off before lcd off to avoid that issue. So call the notifier for backlight
before handling of FB_BLANK_POWERDOWN in msm_fb.

Change-Id: I3bd08025a949ec02a1fba7cef98a13d8977c135b

Conflicts:
	drivers/video/msm/msm_fb.c
video: msm: Send ETIMEDOUT on update-notify timeout

Send the ETIMEDOUT errno when the update-notify wait_for_completion times
out. This is required to be able to properly handle the different failure
cases in the functions that use the update notify ioctl.

Change-Id: I0e46b0b0c89f6b2e5beb3fc0ed18ebbb75dfa434
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
Signed-off-by: Pravin Tamkhane <pravint@codeaurora.org>

Conflicts:
	drivers/video/msm/msm_fb.c
video: msm: Fix initial state of LCD backlight

 * For devices which use the LCD backlight (such as D2), we need
   to actually call the function which sets the brightness after
   initializing it in the probe.

Change-Id: Id6b7c0de3cd31181394c56c7f6061bca9defd861
msm: msm_fb: remove mmio access through mmap

Disable access to mm io and add
appropriate range checks to ensure valid accesses
through framebuffer mmap. This prevents illegal
access into memory.

CRs-Fixed: 474706
Change-Id: If25166f2732433ef967e99c716440030b567aae9
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
(cherry picked from commit b571bef36cf51f9bb4cd1ad3ba23e3cee6d1d3cb)

Conflicts:

	drivers/video/msm/msm_fb.c

Signed-off-by: Raviteja <adimur@codeaurora.org>

Conflicts:
	drivers/video/msm/msm_fb.c
msm: display: Prevent fb suspend in charging mode for all

Conflicts:
	drivers/video/msm/msm_fb.c
mdp: enable dithering
lcdc_jena: fix regulators, clean-up

Conflicts:
	drivers/video/msm/lcdc_jena.c
msm_fb: fix backlight not turning after sleep

Conflicts:
	drivers/video/msm/msm_fb.c
msm: msm_fb: remove mmio access through mmap

Disable access to mm io and add
appropriate range checks to ensure valid accesses
through framebuffer mmap. This prevents illegal
access into memory.

CRs-Fixed: 474706
Change-Id: If25166f2732433ef967e99c716440030b567aae9
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
(cherry picked from commit b571bef36cf51f9bb4cd1ad3ba23e3cee6d1d3cb)

Conflicts:

	drivers/video/msm/msm_fb.c

Signed-off-by: Raviteja <adimur@codeaurora.org>
msm_fb: Fix reserved value for fps reporting

Conflicts:
	drivers/video/msm/msm_fb.c