Skip to content

Commit

Permalink
Fix -igfxmlr boot arg to work on Tiger Lake
Browse files Browse the repository at this point in the history
  • Loading branch information
lshbluesky committed Dec 24, 2023
1 parent 0119aa8 commit 01a7be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WhateverGreen/kern_igfx_clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void IGFX::DPCDMaxLinkRateFix::processFramebufferKextForCFL(KernelPatcher &patch

void IGFX::DPCDMaxLinkRateFix::processFramebufferKext(KernelPatcher &patcher, size_t index, mach_vm_address_t address, size_t size) {
// Comet Lake processors have a higher raw value than Ice Lake ones but still rely on Coffee Lake drivers.
if (BaseDeviceInfo::get().cpuGeneration == CPUInfo::CpuGeneration::IceLake) {
if (BaseDeviceInfo::get().cpuGeneration >= CPUInfo::CpuGeneration::IceLake) {
DBGLOG("igfx", "MLR: Found ICL+ platforms. Will setup the fix for the ICL+ graphics driver.");
processFramebufferKextForICL(patcher, index, address, size);
} else {
Expand Down

0 comments on commit 01a7be2

Please sign in to comment.