Skip to content

Commit

Permalink
dont account extra bit in nvidia family
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Isakov <[email protected]>
  • Loading branch information
SergeySlice committed Oct 18, 2019
1 parent 9d16f47 commit d004764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rEFIt_UEFI/Platform/Settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit d004764

Please sign in to comment.