Permalink
Browse files

Fixed CPU generation detection for Coffee Lake-U

  • Loading branch information...
RehabMan committed Oct 19, 2018
1 parent 2f959bf commit b4e77b972edc56bb918785a98c6e2b6b3d00d361
Showing with 7 additions and 5 deletions.
  1. +3 −0 Changelog.md
  2. +4 −3 Lilu.xcodeproj/project.pbxproj
  3. +0 −2 Lilu/Sources/kern_cpu.cpp
View
@@ -1,6 +1,9 @@
Lilu Changelog
==============
#### v1.2.8
- Fixed CPU generation detection for Coffee Lake-U
#### v1.2.7
- Added support for detecting optimus switch-off
- Added Sanitize target with ubsan support (thx to NetBSD)
@@ -343,6 +343,7 @@
1C748C281C21952C0024EED2 /* Products */,
);
sourceTree = "<group>";
usesTabs = 1;
};
1C748C281C21952C0024EED2 /* Products */ = {
isa = PBXGroup;
@@ -904,7 +905,7 @@
MODULE_NAME = as.vit9696.Lilu;
MODULE_START = kern_start;
MODULE_STOP = kern_stop;
MODULE_VERSION = 1.2.7;
MODULE_VERSION = 1.2.8;
OTHER_CFLAGS = (
"-mmmx",
"-msse",
@@ -967,7 +968,7 @@
MODULE_NAME = as.vit9696.Lilu;
MODULE_START = kern_start;
MODULE_STOP = kern_stop;
MODULE_VERSION = 1.2.7;
MODULE_VERSION = 1.2.8;
OTHER_CFLAGS = (
"-mmmx",
"-msse",
@@ -1079,7 +1080,7 @@
MODULE_NAME = as.vit9696.Lilu;
MODULE_START = kern_start;
MODULE_STOP = kern_stop;
MODULE_VERSION = 1.2.7;
MODULE_VERSION = 1.2.8;
OTHER_CFLAGS = (
"-mmmx",
"-msse",
@@ -105,8 +105,6 @@ void CPUInfo::loadCpuInformation() {
currentGeneration = CpuGeneration::Skylake;
break;
case CPU_MODEL_KABYLAKE:
currentGeneration = CpuGeneration::KabyLake;
break;
case CPU_MODEL_KABYLAKE_DT:
// Kaby has 0x9 stepping, and Coffee use 0xA / 0xB stepping.
if (ver.fmt.stepping == 9)

1 comment on commit b4e77b9

@RehabMan

This comment has been minimized.

Contributor

RehabMan commented on b4e77b9 Oct 21, 2018

This actually breaks a KabyLake-R scenario with i7-8650U, which has the same CPUID.
Refer here:
acidanthera/bugtracker#290

Please sign in to comment.