Revert "GPU: add optimization flags to GPU drivers"

This reverts commit 42631a48fd42cdf593add1d1e0a7b95e4a97692a.
mmc: block: flush request requeue after timeout.

On some eMMC cards cache flush is taking longer than 30 sec timeout
after HPI issued and -EIO reported to the upper layers. This may result
into journaling issues as flush calls are issued by the file system
joulrnaling code.

This change increases flash cache timeout to 90 sec, in case of timeout
occurs, after HPI issued, flash request re-queued to the block layer queue
to execute it later and keep journaling logic valid.

Signed-off-by: engstk <eng.stk@sapo.pt>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>

Conflicts:
	drivers/mmc/card/block.c

Change-Id: I1e968c07056062fd9c8e14e5bc3e62b3b4b99c64
Signed-off-by: Panwar Vivek <vpanwa@codeaurora.org>

Conflicts:

	drivers/mmc/card/block.c

Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: engstk <eng.stk@sapo.pt>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>

Conflicts:
	drivers/mmc/core/core.c
mmc: core: increase timeout for disable cache operation

According to eMMC specification, there is no upper bound defined on
a flush request and the duration of flush operation is left to card
vendor's implementation. This means that it may take a very long
time to complete.

When eMMC cache is disabled, the card has to flush all the data in its
cache. So this means that for certain cards, the driver is not waiting
long enough for the flush to complete during cache disable operation,
leading to data on the card being corrupted.

This change increases the timeout for cache disable operation, thus
preventing data corruption.

CRs-Fixed: 562350
Change-Id: If68328ab56b50c7596800f07ef92c0ab16a55ec0
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: David Ng <dave@codeaurora.org>
Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
Signed-off-by: engstk <eng.stk@sapo.pt>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>
Max screen off frequency and shut down cores while screen is off

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/Makefile
Change msm-sleeper to use lcd-notifier

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>
Add sysfs entry for max screen off frequency

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>
msm-sleeper: save previous max freq, add ex_max_freq interface, loosen permissions

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>
msm-sleeper: use ex_max_freq

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>
Change default max screen off frequency to 1190400

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>
msm-sleeper: change file permissions

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>
build.sh: update

Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>
Revert "Revert "GPU: add optimization flags to GPU drivers""

This reverts commit ac0e49f2232b90a0eafc69cd826c08fcd95b9f8b.