Re: [Intel-gfx] [PATCH 3/3] drm/i915: kicking rings considered harmful

2011-10-02 Thread Ben Widawsky
On Sat, 01 Oct 2011 20:59:28 -0700 Eric Anholt e...@anholt.net wrote: On Sat, 1 Oct 2011 19:15:19 -0700, Ben Widawsky b...@bwidawsk.net wrote: From: Daniel Vetter daniel.vet...@ffwll.ch Only do it in the hope of resurrecting the gpu. Disable when reset is disabled because it seems to

[Intel-gfx] auto generated modeline loop?

2011-10-02 Thread Matej Ľach
I have a long-term problem with unreasonable modelines bein' generated. All the relevant information can be found at [1] [1] - https://bbs.archlinux.org/viewtopic.php?id=126371 I would be glad for any sort of help. Matej, -- Supporter of Free/Libre and Open Source Software - www.fsf.org - I

[Intel-gfx] IRC ban for no reason

2011-10-02 Thread Matej Ľach
I was banned from #intel-gfx freenode IRC channel, but I am not sure why as this was my first time trying to visit the channel and I was already banned (ISP-wide ban or...?)... Any ideas/help suggestions? Thanks, Matej, -- Supporter of Free/Libre and Open Source Software - www.fsf.org - I am

[Intel-gfx] [PATCH] drm/i915: blitter ring workaround for gen6

2011-10-02 Thread Ben Widawsky
Found this through doc inspection. I don't have a failing test case that this fixes, but the docs specify we need to do it in addition to the A0 workaround. Signed-off-by: Ben Widawsky b...@bwidawsk.net --- drivers/gpu/drm/i915/intel_ringbuffer.c | 58 +-- 1 files

Re: [Intel-gfx] [PATCH] drm/i915: blitter ring workaround for gen6

2011-10-02 Thread Keith Packard
On Sun, 2 Oct 2011 18:27:12 -0700, Ben Widawsky b...@bwidawsk.net wrote: +static void blt_ring_begin2(struct intel_ring_buffer *ring) +{ + if (!ring-private) + return; + + intel_ring_emit(ring, MI_LOAD_REGISTER_IMM(1)); + intel_ring_emit(ring, 0x2209c); +

Re: [Intel-gfx] [PATCH] drm/i915: blitter ring workaround for gen6

2011-10-02 Thread Ben Widawsky
On Sun, Oct 02, 2011 at 09:20:32PM -0700, Keith Packard wrote: On Sun, 2 Oct 2011 18:27:12 -0700, Ben Widawsky b...@bwidawsk.net wrote: +static void blt_ring_begin2(struct intel_ring_buffer *ring) +{ + if (!ring-private) + return; + + intel_ring_emit(ring,