public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [drm:init_ring_common] *ERROR* render ring head not reset to zero
@ 2010-10-04 20:31 Thomas Meyer
  2010-10-04 20:46 ` Chris Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Meyer @ 2010-10-04 20:31 UTC (permalink / raw)
  To: Linux Kernel Mailing List

This happens in 2.6.36-rcX:

[    0.523130] [drm] Initialized drm 1.1.0 20060810
[    0.523159] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.523165] i915 0000:00:02.0: setting latency timer to 64
[    0.555999] [drm] detected 63M stolen memory, trimming to 32M
[    0.556065] i915 0000:00:02.0: irq 40 for MSI/MSI-X
[    0.556077] [drm] set up 32M of stolen space
[    0.556247] [drm:init_ring_common] *ERROR* render ring head not reset to zero ctl 00000000 head 02001000 tail 00000000 start 02001000
[    0.556320] [drm:init_ring_common] *ERROR* render ring head forced to zero ctl 00000000 head 00000000 tail 00000000 start 02001000

Bug or feature?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [drm:init_ring_common] *ERROR* render ring head not reset to zero
  2010-10-04 20:31 [drm:init_ring_common] *ERROR* render ring head not reset to zero Thomas Meyer
@ 2010-10-04 20:46 ` Chris Wilson
  2010-12-05  6:28   ` Sriram
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Wilson @ 2010-10-04 20:46 UTC (permalink / raw)
  To: Thomas Meyer, Linux Kernel Mailing List

On Mon, 4 Oct 2010 22:31:20 +0200, Thomas Meyer <thomas@m3y3r.de> wrote:
> [    0.556247] [drm:init_ring_common] *ERROR* render ring head not reset to zero ctl 00000000 head 02001000 tail 00000000 start 02001000
> [    0.556320] [drm:init_ring_common] *ERROR* render ring head forced to zero ctl 00000000 head 00000000 tail 00000000 start 02001000
> 
> Bug or feature?

Hardware feature, software bug. Could also be a feature of the software to
report a hardware bug...

At any rate, it shouldn't be happening and you are not alone at finding
such errors in your logs.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [drm:init_ring_common] *ERROR* render ring head not reset to zero
  2010-10-04 20:46 ` Chris Wilson
@ 2010-12-05  6:28   ` Sriram
  2010-12-05 21:43     ` Chris Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Sriram @ 2010-12-05  6:28 UTC (permalink / raw)
  To: linux-kernel

Chris Wilson <chris <at> chris-wilson.co.uk> writes:

> 
> On Mon, 4 Oct 2010 22:31:20 +0200, Thomas Meyer <thomas <at> m3y3r.de> wrote:
> > [    0.556247] [drm:init_ring_common] *ERROR* render ring head not reset to
zero ctl 00000000 head
> 02001000 tail 00000000 start 02001000
> > [    0.556320] [drm:init_ring_common] *ERROR* render ring head forced to
zero ctl 00000000 head 00000000
> tail 00000000 start 02001000
> > 
> > Bug or feature?
> 
> Hardware feature, software bug. Could also be a feature of the software to
> report a hardware bug...
> 
> At any rate, it shouldn't be happening and you are not alone at finding
> such errors in your logs.
> -Chris
> 


Hi Chris,

Please explain what this error means & why it is happening...


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [drm:init_ring_common] *ERROR* render ring head not reset to zero
  2010-12-05  6:28   ` Sriram
@ 2010-12-05 21:43     ` Chris Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Wilson @ 2010-12-05 21:43 UTC (permalink / raw)
  To: Sriram, linux-kernel

On Sun, 5 Dec 2010 06:28:25 +0000 (UTC), Sriram <sri.kmb@gmail.com> wrote:
> Please explain what this error means & why it is happening...

We wrote a zero into the register (whilst the ring is completely idle,
supposedly anyway) and read back a non-zero value. We believe the silicon
is doing evil things, we workaround it by writing the value again, and
continue on our merry way.

The dance only gets more complex as the hardware evolves.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-05 21:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-04 20:31 [drm:init_ring_common] *ERROR* render ring head not reset to zero Thomas Meyer
2010-10-04 20:46 ` Chris Wilson
2010-12-05  6:28   ` Sriram
2010-12-05 21:43     ` Chris Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox