summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/execlist.c
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-04-06 10:55:55 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-04-12 13:57:51 +0800
commit43c29e1f449d596ed92f12cc19e41d9731ec3312 (patch)
tree2ba2342b21706c8c9d80ffa2a1d6d3b95027d85e /drivers/gpu/drm/i915/gvt/execlist.c
parent80901ca879083ecb5fd08a8d3413220bec9612ac (diff)
drm/i915/gvt: remove redundant ring id check which cause significant CPU misprediction
From perf data, found a significant overhead at ring id check in the function get_opcode. This inline function is frequently used. Since Intel static predictor will predict the branch to fall through so the prediction most fail. This is wasting CPU pipeline resource. We do not need check the engine id everywhere, it should be reliable. Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/execlist.c')
0 files changed, 0 insertions, 0 deletions