MALI: rockchip: upgrade midgard DDK to r9p0-05rel0
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / midgard / mali_kbase_jd_debugfs.c
index b37f280a6475a0a7940a746f2d0f17ed74bd435b..0cf75f59c282e77ad9d6a37bc863e7654c9e6181 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *
- * (C) COPYRIGHT 2014 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2014-2015 ARM Limited. All rights reserved.
  *
  * This program is free software and is provided to you under the terms of the
  * GNU General Public License version 2 as published by the Free Software
@@ -17,6 +17,8 @@
 
 #include <linux/seq_file.h>
 
+#include <mali_kbase.h>
+
 #include <mali_kbase_jd_debugfs.h>
 
 #ifdef CONFIG_DEBUG_FS
@@ -41,6 +43,13 @@ static int kbasep_jd_debugfs_atoms_show(struct seq_file *sfile, void *data)
 
        KBASE_DEBUG_ASSERT(kctx != NULL);
 
+       /* Print version */
+       seq_printf(sfile, "v%u\n", MALI_JD_DEBUGFS_VERSION);
+
+       /* Print U/K API version */
+       seq_printf(sfile, "ukv%u.%u\n", BASE_UK_VERSION_MAJOR,
+                       BASE_UK_VERSION_MINOR);
+
        /* Print table heading */
        seq_puts(sfile, "atom id,core reqs,status,coreref status,predeps,start time,time on gpu\n");