PM related problem with dispc controller
Hi,
I'm debugging pm-0 branch with SDP board and seeing lots of dispc related error printouts:
/ # <4>__ratelimit: 453 callbacks suppressed__ratelimit: 453 callbacks suppressed
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00c0
omapfb omapfb: irq error status 00c0
<3>omapfb omapfb: irq error status 0062
omapfb omapfb: irq error status 0062
<3>omapfb omapfb: irq error status 00c2
omapfb omapfb: irq error status 00c2
The error bit in all these statuses is "GFXFIFOUNDERFLOW". Is this something that could happen e.g. in a case that mpu wake-up from wfi takes too long? I mean is there some interrupt that should be served faster? Or is this taken care by sdma/hw triggering and now sdma is not capable to fill the fifo for reason or another?
I have cpuidle enabled and it is "forced" to select only C1 or C0. This means tha MPU, NEON, CORE and PER are always ON/INACTIVE. Display is also on and there is penguin logo on it. When I see these error messages there is also flickering on the display.
This far I had found that on mpu wfi something is switched off sometimes. I can see that from consumption of SDP board. Sometimes consumption is much lower on wfi even if the states of domains are same. When this happens, also these omapfb irq errors begin to happen.
I can workaround this problem by disabling DSS_ICK AUTOIDLE. Another workaround is to disable hw supervised mode for core_l3_clkdm or core_l4_clkdm.
All comments and ideas are welcome.
Signature · 6 lines
Jouni Högander -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 29 lines · Högander Jouni
Hi,
I'm debugging pm-0 branch with SDP board and seeing lots of dispc related error printouts:
/ # <4>__ratelimit: 453 callbacks suppressed
__ratelimit: 453 callbacks suppressed
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00c0
omapfb omapfb: irq error status 00c0
<3>omapfb omapfb: irq error status 0062
omapfb omapfb: irq error status 0062
<3>omapfb omapfb: irq error status 00c2
omapfb omapfb: irq error status 00c2The error bit in all these statuses is "GFXFIFOUNDERFLOW". Is this something that could happen e.g. in a case that mpu wake-up from wfi takes too long? I mean is there some interrupt that should be served faster? Or is this taken care by sdma/hw triggering and now sdma is not capable to fill the fifo for reason or another?
I have cpuidle enabled and it is "forced" to select only C1 or C0. This means tha MPU, NEON, CORE and PER are always ON/INACTIVE. Display is also on and there is penguin logo on it. When I see these error messages there is also flickering on the display.
Quoted 8 lines
This far I had found that on mpu wfi something is switched off sometimes. I can see that from consumption of SDP board. Sometimes consumption is much lower on wfi even if the states of domains are same. When this happens, also these omapfb irq errors begin to happen.
I can workaround this problem by disabling
DSS_ICKAUTOIDLE. Another workaround is to disable hw supervised mode forcore_l3_clkdmorcore_l4_clkdm.
Try disabling the smart standby feature of DISPC
Below is the patch for the same
drivers/video/omap/dispc.c +1 -1
@@ -1399,7 +1399,7 @@ static int omap_dispc_init(struct omapfb_device *fbdev, in/* Enable smart standby/idle, autoidle and wakeup */ l =dispc_read_reg (DISPC_SYSCONFIG ); l &= ~((3 <<12 ) | (3 <<3 )); - l |= (2 <<12 ) | (2 <<3 ) | (1 <<2 ) | (1 <<0 ); + l |= (2 <<3 ) | (1 <<2 ) | (1 <<0 );dispc_write_reg (DISPC_SYSCONFIG , l);omap_writel (1 <<0 ,DSS_BASE +DSS_SYSCONFIG );
Regards,
Arun C
Quoted 11 lines
All comments and ideas are welcome.
--
Jouni Högander--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 36 lines · ext arun c
Quoted 34 lines · Högander Jouni
Hi,
I'm debugging pm-0 branch with SDP board and seeing lots of dispc related error printouts:
/ # <4>__ratelimit: 453 callbacks suppressed
__ratelimit: 453 callbacks suppressed
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00c0
omapfb omapfb: irq error status 00c0
<3>omapfb omapfb: irq error status 0062
omapfb omapfb: irq error status 0062
<3>omapfb omapfb: irq error status 00c2
omapfb omapfb: irq error status 00c2The error bit in all these statuses is "GFXFIFOUNDERFLOW". Is this something that could happen e.g. in a case that mpu wake-up from wfi takes too long? I mean is there some interrupt that should be served faster? Or is this taken care by sdma/hw triggering and now sdma is not capable to fill the fifo for reason or another?
I have cpuidle enabled and it is "forced" to select only C1 or C0. This means tha MPU, NEON, CORE and PER are always ON/INACTIVE. Display is also on and there is penguin logo on it. When I see these error messages there is also flickering on the display.
This far I had found that on mpu wfi something is switched off sometimes. I can see that from consumption of SDP board. Sometimes consumption is much lower on wfi even if the states of domains are same. When this happens, also these omapfb irq errors begin to happen.
Quoted 5 lines
Quoted 3 lines
I can workaround this problem by disabling
DSS_ICKAUTOIDLE. Another workaround is to disable hw supervised mode forcore_l3_clkdmorcore_l4_clkdm.Try disabling the smart standby feature of DISPC
Yes, this actually helps. I see this also as a workaround. Is the case here that L3 domain is entering some sleep state and waking it up takes too long for dispc?
Signature · 6 lines
Jouni Högander -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks,
Vaibhav Hiremath
Senior Software Engg.
Platform Support Products
Texas Instruments Inc
Ph: +91-80-25099927
Quoted 50 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Högander Jouni
Sent: Tuesday, September 23, 2008 1:36 PM
To: ext arun c
Cc: [email protected]
Subject: Re: PM related problem with dispc controllerQuoted 40 lines · ext arun c
Quoted 37 lines · Högander Jouni
Hi,
I'm debugging pm-0 branch with SDP board and seeing lots of dispc related error printouts:
/ # <4>__ratelimit: 453 callbacks suppressed
__ratelimit: 453 callbacks suppressed
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00c0
omapfb omapfb: irq error status 00c0
<3>omapfb omapfb: irq error status 0062
omapfb omapfb: irq error status 0062
<3>omapfb omapfb: irq error status 00c2
omapfb omapfb: irq error status 00c2The error bit in all these statuses is "GFXFIFOUNDERFLOW". Is this something that could happen e.g. in a case that mpu wake-up from wfi takes too long? I mean is there some interrupt that should be served faster? Or is this taken care by sdma/hw triggering and now sdma is not capable to fill the fifo for reason or another?
I have cpuidle enabled and it is "forced" to select only C1 or C0. This means tha MPU, NEON, CORE and PER are always ON/INACTIVE. Display is also on and there is penguin logo on it. When I see these error messages there is also flickering on the display.
This far I had found that on mpu wfi something is switched off sometimes. I can see that from consumption of SDP board. Sometimes consumption is much lower on wfi even if the states of domains are same. When this happens, also these omapfb irq errors begin to happen.
I can workaround this problem by disabling
DSS_ICKAUTOIDLE. Another workaround is to disable hw supervised mode forcore_l3_clkdmorcore_l4_clkdm.
Quoted 6 lines
Quoted 1 line
Try disabling the smart standby feature of DISPC
Yes, this actually helps. I see this also as a workaround. Is the case here that L3 domain is entering some sleep state and waking it up takes too long for dispc?
I have seen that without ENWAKEUP flag set (1 << 2), DISPC runs into sync lost issue.
Quoted 7 lines
--
Jouni Högander--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 59 lines · Vaibhav
Thanks,
Vaibhav Hiremath
Senior Software Engg.
Platform Support Products
Texas Instruments Inc
Ph: +91-80-25099927Quoted 52 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Högander Jouni
Sent: Tuesday, September 23, 2008 1:36 PM
To: ext arun c
Cc: [email protected]
Subject: Re: PM related problem with dispc controllerQuoted 41 lines · ext arun c
Quoted 29 lines · Högander Jouni
Hi,
I'm debugging pm-0 branch with SDP board and seeing lots of dispc related error printouts:
/ # <4>__ratelimit: 453 callbacks suppressed
__ratelimit: 453 callbacks suppressed
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00e2
omapfb omapfb: irq error status 00e2
<3>omapfb omapfb: irq error status 00c0
omapfb omapfb: irq error status 00c0
<3>omapfb omapfb: irq error status 0062
omapfb omapfb: irq error status 0062
<3>omapfb omapfb: irq error status 00c2
omapfb omapfb: irq error status 00c2The error bit in all these statuses is "GFXFIFOUNDERFLOW". Is this something that could happen e.g. in a case that mpu wake-up from wfi takes too long? I mean is there some interrupt that should be served faster? Or is this taken care by sdma/hw triggering and now sdma is not capable to fill the fifo for reason or another?
I have cpuidle enabled and it is "forced" to select only C1 or C0. This means tha MPU, NEON, CORE and PER are always ON/INACTIVE. Display is also on and there is penguin logo on it. When I see these error messages there is also flickering on the display.
Quoted 8 lines
This far I had found that on mpu wfi something is switched off sometimes. I can see that from consumption of SDP board. Sometimes consumption is much lower on wfi even if the states of domains are same. When this happens, also these omapfb irq errors begin to happen.
I can workaround this problem by disabling
DSS_ICKAUTOIDLE. Another workaround is to disable hw supervised mode forcore_l3_clkdmorcore_l4_clkdm.Try disabling the smart standby feature of DISPC
Quoted 7 lines
Quoted 4 lines
Yes, this actually helps. I see this also as a workaround. Is the case here that L3 domain is entering some sleep state and waking it up takes too long for dispc?
I have seen that without ENWAKEUP flag set (1 << 2), DISPC runs into sync lost issue.
DSS wakeup is enabled in l-o tree.
Signature · 6 lines
Jouni Högander -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html