msm: kgsl: Prevent missing servicing of events waiting on timestamps

Prevent instances where we miss servicing an event which was waiting
on a timestamp. We do this by looping in the events list, until
we finish servicing all the members of the list, and if we come across
an event which has not been serviced yet, we write a dummy interrupt to
the ringbuffer so that we don't miss when that timestamp's work is done.

Change-Id: Ib7b3554efa0d9a8bdc20d1722d912977f72f3ed5
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
Merge "msm: kgsl: Prevent missing servicing of events waiting on timestamps"
configs: Add CONFIG_SYNC=y in perf-deconfig file.

Required CONFIG_SYNC=y is missing in perf_defconfig,
Beacause of which UI is not coming up properly with perf bootimage.
Also removing few 8064 related settings as this branch is not for 8064.

Change-Id: I2eb13aaf684177ffea8866dc08314b1e844558df
Signed-off-by: Chandrakanth Reddy <cmallu@codeaurora.org>
msm_fb: Avoid backlight scaling during resume until backlight is set

Currently, if we try to perform backlight scaling before we set the
backlight on the target during resume, display doesn't come up
due to backlight level zero set on target. Hence, avoid backlight
scaling until backlight is set on the target during resume.

CRs-fixed: 437550
Change-Id: Icb3db2165a1dd2fb123f293634cb6ba5d56ba2a2
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Merge "configs: Add CONFIG_SYNC=y in perf-deconfig file."
Merge "msm_fb: Avoid backlight scaling during resume until backlight is set"