Skip to content

Commit

Permalink
added support for msm8627 chipset - sony xperia m
Browse files Browse the repository at this point in the history
  • Loading branch information
vvdveen committed Nov 3, 2016
1 parent be8b418 commit 1a580f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ion.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ int chipset;
#define CHIPSET_UNIVERSAL 1
#define CHIPSET_KIRIN 1
#define CHIPSET_SPREADTRUM 2
#define CHIPSET_QCT 22

int ion_fd;
extern int rowsize;
Expand Down Expand Up @@ -278,6 +279,10 @@ void ION_init(void) {
chipset = CHIPSET_KIRIN;
break;
}
if (line.find("MSM8627") != std::string::npos) {
print("Detected cihpset MSM8627\n");
chipset = CHIPSET_QCT;
}
}

ion_fd = open("/dev/ion", O_RDONLY);
Expand Down
2 changes: 2 additions & 0 deletions rowsize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ std::vector<struct model> models = {
{"LG-H960", "pplus_global_com", "msm8992", "msm8992", 21, K(64), "LG V10"},
{"LG-H815", "p1_global_com", "msm8992", "msm8992", 21, K(64), "LG G4"},

{"C1905", "cm_nicki", "qcom", "msm8960", 22, K(32), "Sony Xperia M"},

// Snapdragon 805
{"SM-G901F", "kccat6xx", "APQ8084", "apq8084", 21, K(128), "Samsung Galaxy S5 Plus"},
// {"SM-N910V", "trltevzw", "APQ8084", "apq8084", 21, 0, "Samsung Galaxy Note 4"},
Expand Down

0 comments on commit 1a580f0

Please sign in to comment.