~vcs-imports/xserver-xorg-video-intel/master

Viewing all changes in revision 8598.

  • Committer: Chris Wilson
  • Date: 2020-08-20 08:30:19 UTC
  • Revision ID: git-v1:67f15b36faf8c4aa902d953067df0faf43387208
sna/gen7: Prefer blitter for plain copies on Haswell

Since the clear-residuals security fix on gen7, context switches are
very slow. If X is being used with DRI clients, those clients will
typically be using the 3D engine for themselves and every frame
presented will then be copied by X, causing at least a couple of context
switches per frame. That greatly diminishes throughput, but if we prefer
to use the blitter engine for X, we can mostly keep off the render engine
avoiding the context thrash.

Reported-by: Rafael Ristovski <rafael.ristovski@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: