summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2016-07-07 13:52:44 -0700
committerRodrigo Vivi <rodrigo.vivi@intel.com>2017-06-30 08:35:21 -0700
commitf03ce8855e008adbc1822975977a1cf1d826fd35 (patch)
treecc67947a4b5f49315fbbe349a84ac97524e6626f
parentcf3bcf89453372bab70e2be3280be9473f280af1 (diff)
lib/instdone: Add Gen10 support.
Apparently nothing changed since BDW on these instdone bits. So let's reuse instead of empty duplication. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
-rw-r--r--lib/instdone.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/instdone.c b/lib/instdone.c
index 53d82154..510fce64 100644
--- a/lib/instdone.c
+++ b/lib/instdone.c
@@ -417,18 +417,10 @@ init_gen8_instdone(void)
init_gen75_instdone();
}
-static void
-init_gen9_instdone(void)
-{
- init_gen8_instdone();
-}
-
bool
init_instdone_definitions(uint32_t devid)
{
- if (IS_GEN9(devid)) {
- init_gen9_instdone();
- } else if (IS_GEN8(devid)) {
+ if (IS_GEN8(devid) || IS_GEN9(devid) || IS_GEN10(devid)) {
init_gen8_instdone();
} else if (IS_GEN7(devid)) {
init_gen7_instdone();