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:
Manikanta Kanamarlapudi 2014-12-29 13:34:27 +05:30 committed by Jake Weinstein
parent 9ca09baa10
commit e2385f88ee
1 changed files with 4 additions and 1 deletions

View File

@ -71,8 +71,11 @@ void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *boar
} else
property_set(PROP_LCDDENSITY, "320");
if (msm_id >= 239 && msm_id <= 243) {
property_set("media.msm8939hw", "1");
}
if (msm_id == 206) {
property_set("media.swhevccodectype", "1");
property_set("vidc.enc.narrow.searchrange", "0");
}
}