aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2013-04-08 14:28:40 +0100
committerDaniel Vetter <[email protected]>2013-04-18 09:43:11 +0200
commit4615d4c9e27eda42c3e965f208a4b4065841498c (patch)
treeda45fd1c1644445310af66f67420576bf9da11a2 /fs/jbd/commit.c
parent57d277bbfcfbacaf1dc738bf23279cc60d5cda65 (diff)
drm/i915: Use MLC (l3$) for context objects
Enabling context support increases SwapBuffers latency by about 20% (measured on an i7-3720qm). We can offset that loss slightly by enabling faster caching for the contexts. As they are not backed by any particular cache (such as the sampler or render caches) our only option is to select the generic mid-level cache. This reduces the latency of the swap by about 5%. Oddly this effect can be observed running smokin-guns on IVB at 1280x1024: Using BLT copies for swaps: 151.67 fps Using Render copies for swaps (unpatched): 141.70 fps With contexts disabled: 150.23 fps With contexts in L3$: 150.77 fps Signed-off-by: Chris Wilson <[email protected]> Cc: Ben Widawsky <[email protected]> Cc: Kenneth Graunke <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions