common: Set system property to differentiate 8916 and 8939 hw
Set system property to differentiate 8916 and 8939 hw based on soc-id to select appropriate media_codecs.xml Change-Id: I043e00c9c580994b511f8fcec4a0890da90645a6 CRs-Fixed: 770327
This commit is contained in:
parent
9ca09baa10
commit
e2385f88ee
|
@ -71,8 +71,11 @@ void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *boar
|
||||||
} else
|
} else
|
||||||
property_set(PROP_LCDDENSITY, "320");
|
property_set(PROP_LCDDENSITY, "320");
|
||||||
|
|
||||||
|
if (msm_id >= 239 && msm_id <= 243) {
|
||||||
|
property_set("media.msm8939hw", "1");
|
||||||
|
}
|
||||||
|
|
||||||
if (msm_id == 206) {
|
if (msm_id == 206) {
|
||||||
property_set("media.swhevccodectype", "1");
|
|
||||||
property_set("vidc.enc.narrow.searchrange", "0");
|
property_set("vidc.enc.narrow.searchrange", "0");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue