diff options
| author | Ben Widawsky <[email protected]> | 2012-11-04 09:21:30 -0800 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2012-11-11 23:51:44 +0100 |
| commit | 0f9b91c754b7244d3a7345df88c4384f0eb0dd17 (patch) | |
| tree | 3a4feddfd1b3f1e8bce1fcb095dc1d243d839e82 /tools/perf/scripts/python/bin | |
| parent | 009946f89b7795699848a922fc2f7804390017d9 (diff) | |
drm/i915: flush system agent TLBs on SNB
This allows us to map the PTEs WC. I've not done thorough testing or
performance measurements with this patch, but it should be decent.
This is based on a patch from Jesse with the original commit message
> I've only lightly tested this so far, but the corruption seems to be
> gone if I write the GFX_FLSH_CNTL reg after binding an object. This
> register should control the TLB for the system agent, which is what CPU
> mapped objects will go through.
It has been updated for the new AGP-less code by me, and included with
it is feedback from the original patch.
v2: Updated to reflect paranoia on pte updates/register posting reads.
Signed-off-by: Ben Widawsky <[email protected]>
Reviewed-by [v1]: Jesse Barnes <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions