i965: perf: add support for CoffeeLake GT3

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-11-09 16:40:55 +00:00
parent b5f6b9b0eb
commit addfa4c5e8
5 changed files with 10712 additions and 2 deletions

View file

@ -116,6 +116,7 @@ EXTRA_DIST = \
brw_oa_kblgt3.xml \
brw_oa_glk.xml \
brw_oa_cflgt2.xml \
brw_oa_cflgt3.xml \
brw_oa.py
# Note: we avoid using a multi target rule here and outputting both the

View file

@ -170,4 +170,6 @@ i965_oa_GENERATED_FILES = \
brw_oa_glk.h \
brw_oa_glk.c \
brw_oa_cflgt2.h \
brw_oa_cflgt2.c
brw_oa_cflgt2.c \
brw_oa_cflgt3.h \
brw_oa_cflgt3.c

File diff suppressed because it is too large Load diff

View file

@ -82,6 +82,7 @@
#include "brw_oa_kblgt3.h"
#include "brw_oa_glk.h"
#include "brw_oa_cflgt2.h"
#include "brw_oa_cflgt3.h"
#include "intel_batchbuffer.h"
#define FILE_DEBUG_FLAG DEBUG_PERFMON
@ -2094,6 +2095,8 @@ get_register_queries_function(const struct gen_device_info *devinfo)
if (devinfo->is_coffeelake) {
if (devinfo->gt == 2)
return brw_oa_register_queries_cflgt2;
if (devinfo->gt == 3)
return brw_oa_register_queries_cflgt3;
}
return NULL;

View file

@ -156,7 +156,7 @@ oa_generator = generator(
i965_oa_sources = []
foreach hw : ['hsw', 'bdw', 'chv', 'sklgt2', 'sklgt3', 'sklgt4', 'bxt',
'kblgt2', 'kblgt3', 'glk', 'cflgt2']
'kblgt2', 'kblgt3', 'glk', 'cflgt2', 'cflgt3']
_xml = 'brw_oa_@0@.xml'.format(hw)
i965_oa_sources += oa_generator.process(_xml, extra_args : hw)
endforeach