diff options
author | Zhi Wang <zhi.a.wang@intel.com> | 2017-09-10 22:01:10 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-11-16 11:46:51 +0800 |
commit | 8652a8aca614cc2576cf5d4c73d3b87e871ce004 (patch) | |
tree | b4633f1e115f3d4312a84caba3c03194dd489a79 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 325eb94a33451db138e8da7393ad8e9a0e22dd18 (diff) |
drm/i915/gvt: Do not allocate initial ring scan buffer
Theoretically, the largest bulk of commands in the ring buffer of an
engine might be the first submission, which usually contains a lot
of commands to initialize the HW. After removing the initial allocation
of the ring scan buffer and let krealloc() do everything we need, we
still have a big chance to get the buffer of suitable size in the first
submission.
Tested on my SKL NUC.
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions