[PATCH i-g-t 03/26] skl: initialize instdone bits for gen9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gen9 uses the same bits as gen8.

Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
Reviewed-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
Signed-off-by: Ben Widawsky <ben@xxxxxxxxxxxx>
---
 lib/instdone.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/lib/instdone.c b/lib/instdone.c
index 51cdff9..fffb949 100644
--- a/lib/instdone.c
+++ b/lib/instdone.c
@@ -417,10 +417,18 @@ init_gen8_instdone(void)
 	init_gen75_instdone();
 }
 
+static void
+init_gen9_instdone(void)
+{
+	init_gen8_instdone();
+}
+
 void
 init_instdone_definitions(uint32_t devid)
 {
-	if (IS_GEN8(devid)) {
+	if (IS_GEN9(devid)) {
+		init_gen9_instdone();
+	} else if (IS_GEN8(devid)) {
 		init_gen8_instdone();
 	} else if (IS_GEN7(devid)) {
 		init_gen7_instdone();
-- 
1.8.3.1

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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux