dont account extra bit in nvidia family

Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
Sergey Isakov 2019-10-18 16:31:50 +03:00
parent 9d16f47ca4
commit d004764577

View File

@ -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)) {