qdutils: Add MDP v3.0.2 detection.

Change-Id: I22ad1f7fe3c2c03518e192b44f8f0f7018d8ff34
This commit is contained in:
Andreas Schneider 2012-08-28 10:21:09 +02:00 committed by Andrew Sutherland
parent 0a2352aee5
commit 6635f27cd8
2 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,7 @@ MDPVersion::MDPVersion()
mdp_version = MDP_V_UNKNOWN;
}
int len = strlen("msmfbXX_");
if (mdp_version == MDP_V3_0_3)
if (mdp_version == MDP_V3_0_2 || mdp_version == MDP_V3_0_3)
len++;
panel_type = fb_finfo.id[len];

View File

@ -42,6 +42,7 @@ enum mdp_version {
MDP_V_UNKNOWN = 0,
MDP_V2_2 = 220,
MDP_V3_0 = 300,
MDP_V3_0_2 = 302,
MDP_V3_0_3 = 303,
MDP_V3_1 = 310,
MDP_V4_0 = 400,