i965: perf: add support for Kabylake

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Lionel Landwerlin
2017-04-23 18:38:36 -07:00
parent 8ff086fa68
commit 9a50fc7cfc
5 changed files with 20970 additions and 1 deletions
+2
View File
@@ -110,6 +110,8 @@ EXTRA_DIST = \
brw_oa_sklgt3.xml \
brw_oa_sklgt4.xml \
brw_oa_bxt.xml \
brw_oa_kblgt2.xml \
brw_oa_kblgt3.xml \
brw_oa.py
# Note: we avoid using a multi target rule here and outputting both the
+5 -1
View File
@@ -172,4 +172,8 @@ i965_oa_GENERATED_FILES = \
brw_oa_sklgt4.h \
brw_oa_sklgt4.c \
brw_oa_bxt.h \
brw_oa_bxt.c
brw_oa_bxt.c \
brw_oa_kblgt2.h \
brw_oa_kblgt2.c \
brw_oa_kblgt3.h \
brw_oa_kblgt3.c
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -78,6 +78,8 @@
#include "brw_oa_sklgt3.h"
#include "brw_oa_sklgt4.h"
#include "brw_oa_bxt.h"
#include "brw_oa_kblgt2.h"
#include "brw_oa_kblgt3.h"
#include "intel_batchbuffer.h"
#define FILE_DEBUG_FLAG DEBUG_PERFMON
@@ -2009,6 +2011,12 @@ get_register_queries_function(const struct gen_device_info *devinfo)
if (devinfo->gt == 4)
return brw_oa_register_queries_sklgt4;
}
if (devinfo->is_kabylake) {
if (devinfo->gt == 2)
return brw_oa_register_queries_kblgt2;
if (devinfo->gt == 3)
return brw_oa_register_queries_kblgt3;
}
return NULL;
}