dm-cache: block level disk cache target for device mapper

Signed-off-by: KaSt <k@ka.st>
Update to new ALS configuration thanks @ freexperia

Signed-off-by: KaSt <k@ka.st>
Optimizations and make use of rcu_read_lock/unlock instead of read_lock/unlock

Signed-off-by: KaSt <k@ka.st>
Entropy tweaks and use only nonblocking

Signed-off-by: KaSt <k@ka.st>
Tweak deadline scheduler

Signed-off-by: KaSt <k@ka.st>
vmscan:reduce swappiness by 20

Signed-off-by: KaSt <k@ka.st>
"Add support for channel 14 and Increase wifi - Part 1""

This reverts commit 40a13eb59bd838b59249bbd5fe0cd1c95b259fde.

Signed-off-by: KaSt <k@ka.st>
msm_fb: display: add ioctl for mixer info

Add new ioctl to allow user to query mdp mixer detail configuration.

Change-Id: Ibd6b88e8509ddcae403558f235b624a304713b15

Signed-off-by: KaSt <k@ka.st>
base: genlock: Use a signed long for the result from wait_timeout

interruptible_wait_timeout returns a signed long, so make sure that
we use a signed long to hold the result. Using an unsigned value would
horribly misinterpet an error such as -ERESTARTSYS.

CRs-Fixed: 341347
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
(cherry picked from commit be669bc92358653a46c63f2352e6d981f9ed3bdf)

Change-Id: Ifcf555f8719f9c74fdb6d8b5cf2a32582988335b
Signed-off-by: Ram Kumar Chakravarthy Chebathini <rcheba@codeaurora.org>
Signed-off-by: KaSt <k@ka.st>
msm_fb: display: Assign proper destination rectangles to mdp blit

Add check for (90 + Flip Horizontal) and Flip Vertical cases to assign
proper destination rectangle parameters to avoid corrupted frame
buffer content.

CRs-Fixed: 344807
Change-Id: I7e7b0b8d26f08f63a6f9c55eedd37f31cf0348d7
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: KaSt <k@ka.st>
msm_fb: Allow panels to specify a second mode

This allows for panels that support more than one mode
to specify the maximum configuration. The framebuffer
size is now based on the larger of the primary and
alternate modes.  The alternate mode is also used to
check parameters when userspace is requesting a change
to the framebuffer configuration.

Change-Id: Icf644b0fb5e54fc95f45ea8c5ed97f6243cb886c
Signed-off-by: Philip Elcan <pelcan@codeaurora.org>
Signed-off-by: KaSt <k@ka.st>
semc: add second panel mode

Change-Id: I00c04f649442d5d52eef98cf4c326513274bc681

Signed-off-by: KaSt <k@ka.st>
msm_fb: Fix error in y-offset check logic in FB driver

After 4 KB alignment changes, the frame from 3rd buffer doesn't
get updated since during PUT_VSCREEN_INFO ioctl, the driver
returns -1 to userspace due to error in logic because the hole
size is not considered in calculating the logic for validity of
the y-offset. Change fixes this error.

Change-Id: Ib151970eacab4df36fb8274be0079bc814e93efe
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: KaSt <k@ka.st>
msm_fb: Make buffers aligned to 4K page boundary

This change makes the frame buffers aligned to the page
boundary. Improves GPU performance since accessing the
frame buffer from page boundary is faster.

CRs-fixed: 325134
Change-Id: I6ce4477f62536a3cd81064e26dc08f2b199e181b
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: KaSt <k@ka.st>
msm_fb: Clean up of frame buffer 4KB alignment changes

Remove redundant code from the 4 KB alignment patch
and reduce the overhead of calculation of the hole
size by using bitwise operators in its calculation.

Change-Id: I1706484249bf8e01b250e91fa87e00f6021d9a72
CRs-fixed: 325134
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: KaSt <k@ka.st>
msm_fb: display: disable pan display and memory access to fb1 and fb2

The native fb1 and fb2 framebuffer memory is not used and not
allocated on the board file. So on the driver side, pan display ioctl
or other operations on fb1 or fb2 framebuffer memory is checked and
invalidated.

Change-Id: Ie3e85e20f5675f9cfe02c4587f0fe119e8d57e76
CRs-fixed: 357242
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: KaSt <k@ka.st>
hnl_dk: The last missing touchscreen driver update included in 4.1.B.0.587.

Change-Id: Ie5aef31311a2bde02b52714a37ddaf4c5d0f0d81

Signed-off-by: KaSt <k@ka.st>
msm_fb: display: disable pan display and memory access to fb1 and fb2

The native fb1 and fb2 framebuffer memory is not used and not
allocated on the board file. So on the driver side, pan display ioctl
or other operations on fb1 or fb2 framebuffer memory is checked and
invalidated.

CRs-fixed: 357242
Change-Id: I2883926251a0465f69f18c442d5867556a4651bf
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>

Conflicts:

	drivers/video/msm/msm_fb.c
Signed-off-by: KaSt <k@ka.st>
mdp4_overlay: some caf changes

Signed-off-by: KaSt <k@ka.st>
msm_fb: display: add mdp version info for later mdp h/w

fbtest needs to get the correct mdp version number, but now only the
version up to mdp4.0 is returned. Add the latest mdp version up to
4.4.

Change-Id: If1ff302bb4a02ed13bb4dcabcb933fd5adfbec6d
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/include/mach/board.h
	drivers/video/msm/msm_fb.c
Signed-off-by: KaSt <k@ka.st>