commit | c55f1b9b29fe9ffa632497fe4accfeacadd4c7f6 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@intel.com> | Wed Sep 05 11:32:00 2018 -0700 |
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | Wed Sep 05 16:14:48 2018 -0700 |
tree | f2518d93eadc295378caa51a3f78d787dfa10de3 | |
parent | 584ca8fe53c7d5612f566a9eabf7336751a96924 [diff] |
intel: get gen once for gen >= 9 We don't need to call IS_GEN() for each gen >= 9: we can rather use the new intel_is_genx() helper to iterate the pciids array once. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>