mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-23 16:17:40 +01:00
dont account extra bit in nvidia family
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
9d16f47ca4
commit
d004764577
@ -7082,7 +7082,7 @@ GetDevices ()
|
||||
//DBG ("BAR: 0x%p\n", Mmio);
|
||||
// get card type
|
||||
gfx->Family = (REG32(gfx->Mmio, 0) >> 20) & 0x3ff;
|
||||
UFamily = gfx->Family & 0x3F0;
|
||||
UFamily = gfx->Family & 0x1F0;
|
||||
if ((UFamily == NV_ARCH_KEPLER1) ||
|
||||
(UFamily == NV_ARCH_KEPLER2) ||
|
||||
(UFamily == NV_ARCH_KEPLER3)) {
|
||||
|
Loading…
Reference in New Issue
Block a user