Apparently nothing changed since BDW on these instdone bits.
So let's reuse instead of empty duplication.

Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
---
 lib/instdone.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/lib/instdone.c b/lib/instdone.c
index 53d8215..510fce6 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();
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to