msm: mdss: allow meta data to be retrieved in display off state

This is to allow client to retrieve display meta data information
even while the display is turned off.

Change-Id: Id5c3a3ebac9039a8ff045eb662683962e16e46bd
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
msm: mdss: Fix race condition during device shutdown

During device shutdown or restart, two separate contexts can call
mdss_fb_release. One system shutdown/restart thread which calls
shutdown routine registered through device driver. Other closing
of frame buffer devices from user processes. Fix race condition
between these two contexts by using proper locking mechanism and
releasing all the resources.

Change-Id: I583b0f1273d984215e276daf3b6307f3b6e9e8c6
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
mdss: fb: Unblock blit ioctl calls when commit is occuring

Since BLIT calls have no effect on the frame being commited it
does not need to block in pan_idle.

Change-Id: Ic0cfa7c0c275ddc051b60ff8823fcd7299cb8b57
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
msm: clock-krait-8974: Add support for 8974 Krait clocks

The clock-krait-8974 driver uses the clock-krait library and models the
krait clock tree in MSM8974. The following data are read from device tree
the keep the driver more reusable:
- PVS tables for the CPUs and the L2 voltage table
- AVS configuration table
- HFPLL and efuse register bases
- Regulators used by the krait subsystem

Change-Id: I7b145c7f2361d93adbfbc2896040a19bf3be31a2
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>