Skip to content
Commit 592ac676 authored by Chad Versace's avatar Chad Versace
Browse files

intel: Fix bufmgr_gem->gen for gen > 4



If the pci_device's actual gen was > 4, then we stupidly set
bufmgr_gem->gen = 6. Luckily this caused no bugs, and this fix shouldn't
change any behavior, because all checks against the gen currently have one
of the forms below:
    gen == 2
    gen == 3
    gen >= 4

Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Reviewed-by: default avatarEugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
parent b643b071
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment