summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/Automake.inc
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-12-22 00:55:37 -0800
committerKenneth Graunke <[email protected]>2014-12-24 00:15:40 -0800
commitb7f14e03e3de218aedf4ba9439384c7bcbc091eb (patch)
tree0819518c8e2b7a47855834cd00bb1193d7c9a3f1 /src/gallium/drivers/freedreno/Automake.inc
parentf332cf92b69e52de3cb7c3088ad1efd2e291bb88 (diff)
i965: Cache register write capability checks.
Our ability to perform register writes depends on the hardware and kernel version. It shouldn't ever change on a per-context basis, so we only need to check once. Checking introduces a synchronization point between the CPU and GPU: even though we submit very few GPU commands, the GPU might be busy doing other work, which could cause us to stall for a while. On an idle i7 4750HQ, this improves performance in OglDrvCtx (a context creation microbenchmark) by 6.14748% +/- 1.6837% (n=20). With Unigine Valley running in the background (to keep the GPU busy), it improves performance in OglDrvCtx by 2290.92% +/- 29.5274% (n=5). Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/Automake.inc')
0 files changed, 0 insertions, 0 deletions