[Intel-gfx] [PATCH v2] drm/i915/vlv: Added a rendering specific Hw WA 'WaSendDummy3dPrimitveAfterSetContext'

2014-02-08 Thread akash . goel
From: Akash Goel This workaround is needed on VLV for the HW context feature. It is used after adding the mi_set_context command in ring buffer for Hw context switch. As per the spec "The software must send a pipe_control with a CS stall and a post sync operation and then a dummy DRAW after every

[Intel-gfx] [PATCH v2] drm/i915: Added write-enable pte bit support

2014-02-08 Thread akash . goel
From: Akash Goel This adds support for a write-enable bit in the entry of GTT. This is handled via a read-only flag in the GEM buffer object which is then used to see how to set the bit when writing the GTT entries. Currently by default the Batch buffer & Ring buffers are marked as read only. v2

Re: [Intel-gfx] 3.13.1 - WARNING at drivers/gpu/drm/i915/i915_irq.c:1240

2014-02-08 Thread Thomas Meyer
Am Freitag, den 07.02.2014, 09:46 +0100 schrieb Daniel Vetter: > On Thu, Feb 06, 2014 at 11:29:34PM +0100, Thomas Meyer wrote: > > Am Dienstag, den 04.02.2014, 21:17 +0100 schrieb Daniel Vetter: > > > On Tue, Feb 04, 2014 at 08:37:02PM +0100, Thomas Meyer wrote: > > > > > > > > Hi, > > > > > > >

Re: [Intel-gfx] 3.13.1 - WARNING at drivers/gpu/drm/i915/i915_irq.c:1240

2014-02-08 Thread Daniel Vetter
On Sat, Feb 8, 2014 at 12:51 PM, Thomas Meyer wrote: > Am Freitag, den 07.02.2014, 09:46 +0100 schrieb Daniel Vetter: >> On Thu, Feb 06, 2014 at 11:29:34PM +0100, Thomas Meyer wrote: >> > Am Dienstag, den 04.02.2014, 21:17 +0100 schrieb Daniel Vetter: >> > > On Tue, Feb 04, 2014 at 08:37:02PM +010

Re: [Intel-gfx] [PATCH 2/2] drm/i915/vlv: Replaced Blitter ring based flips with MMIO Flips for VLV.

2014-02-08 Thread Goel, Akash
>> As Chris said, instead of rolling your own code to track when flips are >> emitted to the ring, simply add a real request (with the add_request >> function) >> like the execbuf paths. Then add any additional trackin you need to our >> request structure. >> -Daniel I am really sorry, but I a

Re: [Intel-gfx] [PATCH 4/7] drm/i915: Disable SF pipelined attribute fetch for SNB

2014-02-08 Thread Daniel Vetter
On Fri, Feb 07, 2014 at 12:14:47PM -0800, Kenneth Graunke wrote: > On 02/04/2014 11:59 AM, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > According to Bspec we need to disable SF pipelined attribute fetch > > whenever SF outputs exceed 16 and normal clip mode is used. A quic

Re: [Intel-gfx] 3.13.1 - WARNING at drivers/gpu/drm/i915/i915_irq.c:1240

2014-02-08 Thread Thomas Meyer
Am Samstag, den 08.02.2014, 17:38 +0100 schrieb Daniel Vetter: > On Sat, Feb 8, 2014 at 12:51 PM, Thomas Meyer wrote: > > Am Freitag, den 07.02.2014, 09:46 +0100 schrieb Daniel Vetter: > >> On Thu, Feb 06, 2014 at 11:29:34PM +0100, Thomas Meyer wrote: > >> > Am Dienstag, den 04.02.2014, 21:17 +010

Re: [Intel-gfx] [PATCH 4/7] drm/i915: Disable SF pipelined attribute fetch for SNB

2014-02-08 Thread Ville Syrjälä
On Sat, Feb 08, 2014 at 06:28:03PM +0100, Daniel Vetter wrote: > On Fri, Feb 07, 2014 at 12:14:47PM -0800, Kenneth Graunke wrote: > > On 02/04/2014 11:59 AM, ville.syrj...@linux.intel.com wrote: > > > From: Ville Syrjälä > > > > > > According to Bspec we need to disable SF pipelined attribute fet

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-02-08 Thread Daniel Vetter
On Sat, Feb 8, 2014 at 8:06 PM, Paul Bolle wrote: > 0) Booting v3.14-rc1 on an (outdated) ThinkPad X41 triggers a kernel > error: > pci :00:02.0: can't ioremap flush page - no chipset flushing > > That is this pci device: > lspci | grep 00:02.0 > 00:02.0 VGA compatible controller

Re: [Intel-gfx] [PATCH] drm/i915/vlv: Added write-enable pte bit support

2014-02-08 Thread Eric Anholt
"Goel, Akash" writes: >>> What happens when we GTT-mapped write a batchbuffer that had > previously been silently made RO by the kernel? Does the CPU take a > fault? We tested this particular case, doing the relocation inside > the Batch buffer, which is mapped to GTT as read-only, from the > e

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-02-08 Thread Paul Bolle
Daniel Vetter schreef op za 08-02-2014 om 20:59 [+0100]: > Hm, if this is really a regression between 3.13 and 3.14-rc1 then I > don't see any quick candidates - relevant functions in intel-gtt.c > seem unchanged. > > So probably a bisect is what we need here. Note that this could also > be due to

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-02-08 Thread Daniel Vetter
On Sat, Feb 8, 2014 at 9:22 PM, Paul Bolle wrote: > Daniel Vetter schreef op za 08-02-2014 om 20:59 [+0100]: >> Hm, if this is really a regression between 3.13 and 3.14-rc1 then I >> don't see any quick candidates - relevant functions in intel-gtt.c >> seem unchanged. >> >> So probably a bisect is