summaryrefslogtreecommitdiff
path: root/tools/intel_reg_checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/intel_reg_checker.c')
-rw-r--r--tools/intel_reg_checker.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/intel_reg_checker.c b/tools/intel_reg_checker.c
index 3f90de82..2aefabc6 100644
--- a/tools/intel_reg_checker.c
+++ b/tools/intel_reg_checker.c
@@ -143,6 +143,11 @@ check_gfx_mode(void)
check_perf_bit(gfx_mode, 13, "Flush TLB Invalidation Mode", true);
}
+static unsigned intel_gt(uint16_t __devid)
+{
+ return intel_get_device_info(__devid)->gt;
+}
+
static void
check_gt_mode(void)
{