[Intel-gfx] [PATCH 0/4] Haswell GPU hang fixes
Ben Widawsky
ben at bwidawsk.net
Sat Aug 18 00:39:05 CEST 2012
On 2012-08-17 14:35, Paulo Zanoni wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
>
> Hi
>
> Since we stopped running the gen6 workarounds on gen > 6 I started
> seeing a lot
> of GPU hangs on my gen 7.5 machine. These patches add gen7+
> workarounds which
> prevent the GPU hangs I'm seeing.
>
> These patches were tested mostly on HSW and briefly on IVB, but the
> workarounds
> implemented are documented for both. This is also the first time I
> touch this
> kind of code, so extra careful reviewing might be needed.
>
> Thanks,
> Paulo
>
>
> Paulo Zanoni (4):
> drm/i915: add gen7_render_ring_flush
> drm/i915: add workarounds directly to gen6_render_ring_flush
> drm/i915: add workaround to gen7_render_ring_flush
> drm/i915: add one more workaround to gen7_render_ring_flush
>
> drivers/gpu/drm/i915/intel_ringbuffer.c | 81
> ++++++++++++++++++++++++++++++---
> 1 file changed, 74 insertions(+), 7 deletions(-)
I don't think this makes for ideal bisection. I'd rather you implement
the ring flush + workarounds before you set the pointer. If you want to
keep the patches split out like this, just add a 5 patch to do the
pointer change that's in the first patch. Or else collapse patch 1, 3, 4
into 1.
I didn't really review anything yet though.
--
Ben Widawsky, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list