diff options
author | Zhao Yan <yan.y.zhao@intel.com> | 2018-08-01 00:15:09 -0400 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2018-08-02 13:27:09 +0800 |
commit | db47685da1d8224f0eaa35c32e1a1ea97b05bae0 (patch) | |
tree | bda95c8b610763468b3f387ec5ac2b92a6b530b5 /fs/gfs2 | |
parent | 279ce5d117078ee8ea40c40199399889981fd808 (diff) |
drm/i915/gvt: add a fastpath for cmd parsing on MI_NOOP
MI_NOOP is a common command appearing in almost all command buffers, put it
into a fastpath can improve perfomance, especially in command buffers
contains lots of MI_NOOPs (0s).
Take glmark2 as an example, 3% performance increase is observed after
introduced this patch. Meanwhile, in case where abundant in MI_NOOPs,
up to 12% performance increase is measured.
v2: use lowercase for index of MI_NOOP in cmd_info (zhenyu wang)
Signed-off-by: Li Weinan <weinan.z.li@intel.com>
Signed-off-by: Zhao Yan <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions