summaryrefslogtreecommitdiff
path: root/drivers/media/platform/via-camera.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-04-08 14:28:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-11 13:54:02 -0700
commitcbb83bb7bea7effffbd4097b3b355780e07f273d (patch)
tree64c8b2e06059fa28810afc206e9e4f019128e2ec /drivers/media/platform/via-camera.h
parentb578b3a82d830e2170d403b1fb29b649e26a48fb (diff)
drm/i915: Use MLC (l3$) for context objects
commit 4615d4c9e27eda42c3e965f208a4b4065841498c upstream. 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 <chris@chris-wilson.co.uk> Cc: Ben Widawsky <ben@bwidawsk.net> Cc: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/platform/via-camera.h')
0 files changed, 0 insertions, 0 deletions