msm: mdss: Use MDSS reg for version

MDSS and MDP regs have same version value for all the targets
other than mpq8092. In mpq, MDSS version is different, so using
it instead of MDP version to get the unique value, and using this
new version to check correct write-back format.

Change-Id: Ide7335815d61681c7a6909b9da95d0b6f4851d54
Signed-off-by: Zohaib Alam <zalam@codeaurora.org>
msm: mdss: mdp revision initialization

Make sure mdp revision is initialized when user space
application retrieves it.

Change-Id: Ib09767ac5db3af3958a82c83ed553e8bd69637e0
Signed-off-by: Zohaib Alam <zalam@codeaurora.org>
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
msm: mdss: move MDSS revision macros to uapi/linux/msm_mdp.h

Currently kernel driver and user mode libraries keep their own
copies of HW revision numbers. This strategy is prone to errors
and usually frowned upon. Fix this by moving revision information
to sanitized header which is shared by kernel drivers and user mode
libraries.

Change-Id: I59d1256ffd98e07f4ef9ae2b534f04b67abd2119
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

Conflicts:
	include/linux/msm_mdp.h