summaryrefslogtreecommitdiff
path: root/lib/igt_kms.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-08-23 13:44:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-10-09 14:59:54 +0100
commiteb57c0289dbd2bfb573bb1c104d80eaf5edc7228 (patch)
treeef883be2817836bb69258628758fa4ffb1437fee /lib/igt_kms.c
parentd8954f05024d73a8b3f26fa0d5892d067a70fdac (diff)
igt/gem_fence_thrash: Use streaming reads for verify
At the moment, the verify tests use an extremely brutal write-read of every dword, degrading performance to UC. If we break those up into cachelines, we can do a wcb write/read at a time instead, roughly 8x faster. We lose the accuracy of the forced wcb flushes around every dword, but we are retaining the overall behaviour of checking reads following writes instead. To compensate, we do check that a single dword write/read before using wcb aligned accesses. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'lib/igt_kms.c')
0 files changed, 0 insertions, 0 deletions