summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2020-03-06 14:38:49 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-03-06 17:42:19 +0000
commit970677bbfc3dea56b827b56f36c3d9cb446edeeb (patch)
tree90d07d14430bf5d8e5e89ac58f66c01c64315807 /benchmarks
parent00a8e400876f2c27f62ed7d418be6b55738a4ea6 (diff)
gem_wsim: Fix calibration for special VCS engine name
VCS is a special (non-physical) engine id/name which means load-balancing in legacy workloads. As such when i915 balancing is not enabled it needs to have a calibration as well. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/gem_wsim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c
index a1bbcef0..c196b253 100644
--- a/benchmarks/gem_wsim.c
+++ b/benchmarks/gem_wsim.c
@@ -3353,6 +3353,8 @@ int main(int argc, char **argv)
engine_calib_map[eng] = calib_val;
if (eng == RCS)
engine_calib_map[DEFAULT] = calib_val;
+ else if (eng == VCS1 || eng == VCS2)
+ engine_calib_map[VCS] = calib_val;
has_nop_calibration = true;
}
} else {