diff options
| author | Daniel Vetter <[email protected]> | 2010-08-04 21:22:10 +0200 |
|---|---|---|
| committer | Eric Anholt <[email protected]> | 2010-08-09 11:24:30 -0700 |
| commit | 6146b3d61925116e3fecce36c2fd873665bd6614 (patch) | |
| tree | ab3993e2ce1503fdd0926e14e342ad5b09d37d58 /tools/perf/scripts/python | |
| parent | 69d0b96c095468526009cb3104eee561c9252a84 (diff) | |
drm/i915: i8xx also doesn't like multiple oustanding pageflips
My i855GM suffers from a 80k/s interrupt storm without this.
So add 2nd gen to the list of things that don't like more than
one outstanding pageflip request.
Furthermore I've changed the busy loop into a ringbuffer wait.
Busy-loops that don't check whether the chip died are simply evil.
And performance should actually improve, because there's usually
a decent amount of rendering queued on the gpu, hopefully rendering
that MI_WAIT into a noop by the time it's executed.
The current code holds dev->struct_mutex while executing this loop,
hence stalling all other gem activity anyway.
Signed-off-by: Daniel Vetter <[email protected]>
Cc: [email protected]
Reviewed-by: Jesse Barnes <[email protected]>
[anholt: resolved against conflict]
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions