2010-08-18 18:46:44

by Maciej Rutecki

[permalink] [raw]
Subject: [REGRESSION] [2.6.36-rc1] [DRM INTEL] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane, expect flickering: entries required = 36, available = 28.

Last known good: 2.6.35
Failing kernel: 2.6.36-rc1

During boot kernel display this message:
[ 0.831906] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane,
expect flickering: entries required = 36, available = 28.
[ 0.895058] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane,
expect flickering: entries required = 36, available = 28.
[ 0.895066] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane,
expect flickering: entries required = 36, available = 28.
[ 0.895287] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane,
expect flickering: entries required = 36, available = 28.
[ 0.916426] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane,
expect flickering: entries required = 36, available = 28.


Systems seems work OK, but in 2.6.35 I don't have this message. On another
system with 2.6.36-rc1 kernel I have the same message.

lspci:
http://unixy.pl/maciek/download/kernel/2.6.36-rc1/zlom/lspci.txt
.config:
http://unixy.pl/maciek/download/kernel/2.6.36-rc1/zlom/config-2.6.36-rc1
dmesg:
http://unixy.pl/maciek/download/kernel/2.6.36-rc1/zlom/dmesg-2.6.36-rc1.txt

Regards
--
Maciej Rutecki
http://www.maciek.unixy.pl


2010-08-18 19:13:22

by Chris Wilson

[permalink] [raw]
Subject: Re: [REGRESSION] [2.6.36-rc1] [DRM INTEL] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane, expect flickering: entries required = 36, available = 28.

On Wed, 18 Aug 2010 20:46:37 +0200, Maciej Rutecki <[email protected]> wrote:
> Last known good: 2.6.35
> Failing kernel: 2.6.36-rc1
>
> During boot kernel display this message:
> [ 0.831906] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane,
> expect flickering: entries required = 36, available = 28.

To be honest, I was shocked at how often we were actually computing that
we required a larger FIFO for scanout than was available. Typically, it is
the result of the pessimistic latency we guess for the memory fetch and so
we err on the side of extreme caution when computing the watermark. So in
effect, we have been clamping the FIFO since the beginning, but we only
just added the warning message as an aide to diagnosing some FIFO
underruns. We could tone down the error message, the real goal though is
to improve the accuracy of the calculation and thereby reduce power.

> Systems seems work OK, but in 2.6.35 I don't have this message. On another
> system with 2.6.36-rc1 kernel I have the same message.

Yes, there was just a couple of places where we changed the calculation to
round-up but otherwise the wm logic remained mostly the same. So if you
haven't been experiencing FIFO underruns, e.g. the screen flickering, then
it is likely that the error is benign (and just wasting power).

--
Chris Wilson, Intel Open Source Technology Centre

2010-08-19 07:55:16

by Michal Hocko

[permalink] [raw]
Subject: Re: [REGRESSION] [2.6.36-rc1] [DRM INTEL] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane, expect flickering: entries required = 36, available = 28.

Hi,

On Wed 18-08-10 20:13:12, Chris Wilson wrote:
> On Wed, 18 Aug 2010 20:46:37 +0200, Maciej Rutecki <[email protected]> wrote:
> > Last known good: 2.6.35
> > Failing kernel: 2.6.36-rc1
> >
> > During boot kernel display this message:
> > [ 0.831906] [drm:intel_calculate_wm] *ERROR* Insufficient FIFO for plane,
> > expect flickering: entries required = 36, available = 28.

I am seeing the same "problem" on my Fujitsu Lifebook[*] if it helps somehow

$ dmesg | grep "Insufficient FIFO for plane" | sed 's/.*\*ERROR\* //' | sort | uniq -c
49 Insufficient FIFO for plane, expect flickering: entries required = 36, available = 28.
33 Insufficient FIFO for plane, expect flickering: entries required = 36, available = 31.

[...]

[*] lspci and config attached

Thanks
--
Michal Hocko
L3 team
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic


Attachments:
(No filename) (890.00 B)
lspci (12.45 kB)
config-2.6.36-rc1 (65.95 kB)
Download all attachments