[Bug 52311] Flash 11.5 video hangs ivy bridge
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Wed Jan 23 07:57:22 PST 2013
https://bugzilla.kernel.org/show_bug.cgi?id=52311
--- Comment #19 from Chris Wilson <chris at chris-wilson.co.uk> 2013-01-23 15:57:22 ---
(In reply to comment #17)
> Created an attachment (id=91701)
--> (https://bugzilla.kernel.org/attachment.cgi?id=91701) [details]
> i915_error_state from drm-fixed
Here we are supposed to be waiting for the scanline window to be outside of the
[437,438) range. It suggests that maybe IVB has a similar granularity to SNB,
maybe:
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 967b88b..5eefb20 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -2788,6 +2788,12 @@ static bool sna_emit_wait_for_scanline_gen7(struct sna
*s
y1 = crtc->bounds.y2;
y2--;
+ /* The scanline granularity is 3 bits */
+ y1 &= ~7;
+ y2 &= ~7;
+ if (y2 == y1)
+ return false;
+
b = kgem_get_batch(&sna->kgem);
/* Both the LRI and WAIT_FOR_EVENT must be in the same cacheline */
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the intel-gfx-bugs
mailing list