Re: [PATCH] Revert "drm/i915: fix vblank wait test condition"

Chris Wilson
2010-09-05T17:21:16Z

On Sun, 5 Sep 2010 19:40:06 +0300, Pekka Enberg <penberg@kernel.org> wrote:
> The "drm-intel" branch on top of 2.6.36-rc3 works OK on my machine. I
> do see the following errors in dmesg but they seem to be harmless:
>
> [ 1.004937] render error detected, EIR: 0x00000010
> [ 1.004981] page table error
> [ 1.005018] PGTBL_ER: 0x00000102
> [ 1.005058] [drm:i915_report_and_clear_eir] *ERROR* EIR stuck:
> 0x00000010, masking
> [ 1.005139] render error detected, EIR: 0x00000010
> [ 1.005194] page table error
> [ 1.005244] PGTBL_ER: 0x00000102

Do you see this on 2.6.36-rc3 as well? I had thought we had seen the last
of those. lspci would be useful to know precisely which chipset is
throwing that error.

> [ 1.660043] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for
> plane, expect flickering: entries required = 36, available = 31.

These are based on a pessimistic guess for the memory latency and so
we overestimate the number of FIFO entries required to avoid underruns.
All that has changed is that we now print out the warning and have been
surprised by how far out our estimation has been. We first need to find
some way of improving our estimate for the memory latency and so trim the
watermarks. And under the circumstances where we need more entries than
are available on one pipe, we need to adjust the FIFO configuration.

In the short term, we will need to quieten the "harmless" error message.

I've lost track of the current status for releasing the documentation for
gen2/3. As always, it should be ready real soon now.
--
Chris Wilson, Intel Open Source Technology Centre