File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ static int perf_mi_bb_start(void *arg)
125
125
enum intel_engine_id id ;
126
126
int err = 0 ;
127
127
128
- if (GRAPHICS_VER (gt -> i915 ) < 7 ) /* for per-engine CS_TIMESTAMP */
128
+ if (GRAPHICS_VER (gt -> i915 ) < 6 ) /* for per-engine CS_TIMESTAMP */
129
129
return 0 ;
130
130
131
131
perf_begin (gt );
@@ -135,6 +135,9 @@ static int perf_mi_bb_start(void *arg)
135
135
u32 cycles [COUNT ];
136
136
int i ;
137
137
138
+ if (GRAPHICS_VER (engine -> i915 ) < 7 && engine -> id != RCS0 )
139
+ continue ;
140
+
138
141
intel_engine_pm_get (engine );
139
142
140
143
batch = create_empty_batch (ce );
@@ -249,7 +252,7 @@ static int perf_mi_noop(void *arg)
249
252
enum intel_engine_id id ;
250
253
int err = 0 ;
251
254
252
- if (GRAPHICS_VER (gt -> i915 ) < 7 ) /* for per-engine CS_TIMESTAMP */
255
+ if (GRAPHICS_VER (gt -> i915 ) < 6 ) /* for per-engine CS_TIMESTAMP */
253
256
return 0 ;
254
257
255
258
perf_begin (gt );
@@ -259,6 +262,9 @@ static int perf_mi_noop(void *arg)
259
262
u32 cycles [COUNT ];
260
263
int i ;
261
264
265
+ if (GRAPHICS_VER (engine -> i915 ) < 7 && engine -> id != RCS0 )
266
+ continue ;
267
+
262
268
intel_engine_pm_get (engine );
263
269
264
270
base = create_empty_batch (ce );
You can’t perform that action at this time.
0 commit comments