diff options
author | Daniel J Blueman <[email protected]> | 2011-06-17 11:32:19 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-06-18 08:25:16 +1000 |
commit | 498e720b96379d8ee9c294950a01534a73defcf3 (patch) | |
tree | 85e1a5bf650087ea62d7f5c7fb56820f5a193790 /tools/perf/scripts/python | |
parent | 95d17b7168eacf1f97f2d1d087ebe7a648c30051 (diff) |
drm/i915: Fix gen6 (SNB) missed BLT ring interrupts.
The failure appeared in dmesg as:
[drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer elapsed... blt
ring idle [waiting on 35064155, at 35064155], missed IRQ?
This works around that problem on by making the blitter command
streamer write interrupt state to the Hardware Status Page when a
MI_USER_INTERRUPT command is decoded, which appears to force the seqno
out to memory before the interrupt happens.
v1->v2: Moved to prior interrupt handler installation and RMW flags as
per feedback.
v2->v3: Removed RMW of flags (by anholt)
Cc: [email protected]
Signed-off-by: Daniel J Blueman <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Tested-by: Chris Wilson <[email protected]> [v1]
Tested-by: Eric Anholt <[email protected]> [v1,v3]
(incidence of the bug with a testcase went from avg 2/1000 to
0/12651 in the latest test run (plus more for v1))
Tested-by: Kenneth Graunke <[email protected]> [v1]
Tested-by: Robert Hooker <[email protected]> [v1]
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33394
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions