Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-10-02 Thread Kevin Hilman
Tomi Valkeinen tomi.valkei...@nokia.com writes: On Thu, 2009-10-01 at 18:19 +0200, ext Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@nokia.com writes: So is there an API to change that value in resource34xx.h dynamically, depending on what DSS block is in use? Or am I still missing

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-10-01 Thread Kevin Hilman
Tomi Valkeinen tomi.valkei...@nokia.com writes: On Wed, 2009-09-30 at 20:31 +0200, ext Kevin Hilman wrote: On Fri, Sep 25, 2009 at 2:19 AM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: On Thu, 2009-09-24 at 17:52 +0200, ext Kevin Hilman wrote: Tomi Valkeinen wrote: If it is not like

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-30 Thread Kevin Hilman
On Fri, Sep 25, 2009 at 2:19 AM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: On Thu, 2009-09-24 at 17:52 +0200, ext Kevin Hilman wrote: Tomi Valkeinen wrote: If it is not like that, and the driver initialization is included, how does the PM layer know how long it takes for the DSS driver

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-25 Thread Tomi Valkeinen
On Thu, 2009-09-24 at 17:52 +0200, ext Kevin Hilman wrote: Tomi Valkeinen wrote: If it is not like that, and the driver initialization is included, how does the PM layer know how long it takes for the DSS driver to reconfigure the DSS hardware from OFF mode? Currently it doesn't, but if

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-24 Thread Tomi Valkeinen
On Wed, 2009-09-23 at 17:44 +0200, ext Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@nokia.com writes: On Tue, 2009-09-22 at 16:54 +0200, ext Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@nokia.com writes: Hi, On Fri, 2009-09-18 at 19:33 +0200, ext Mike Chan wrote: On

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-24 Thread Kevin Hilman
Tomi Valkeinen wrote: On Wed, 2009-09-23 at 17:44 +0200, ext Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@nokia.com writes: On Tue, 2009-09-22 at 16:54 +0200, ext Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@nokia.com writes: Hi, On Fri, 2009-09-18 at 19:33 +0200, ext Mike Chan

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-23 Thread Tomi Valkeinen
On Tue, 2009-09-22 at 16:54 +0200, ext Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@nokia.com writes: Hi, On Fri, 2009-09-18 at 19:33 +0200, ext Mike Chan wrote: On Fri, Sep 18, 2009 at 1:27 AM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: Hi, If you disable the clocks

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-22 Thread Kevin Hilman
Tomi Valkeinen tomi.valkei...@nokia.com writes: Hi, On Fri, 2009-09-18 at 19:33 +0200, ext Mike Chan wrote: On Fri, Sep 18, 2009 at 1:27 AM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: Hi, If you disable the clocks to allow RET, you also allow OFF mode. And resuming from OFF mode

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-21 Thread Tomi Valkeinen
Hi, On Fri, 2009-09-18 at 19:33 +0200, ext Mike Chan wrote: On Fri, Sep 18, 2009 at 1:27 AM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: Hi, If you disable the clocks to allow RET, you also allow OFF mode. And resuming from OFF mode hasn't been implemented for DSI, if I recall

[PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-17 Thread Mike Chan
Signed-off-by: Mike Chan m...@android.com --- drivers/video/omap2/dss/dispc.c |6 - drivers/video/omap2/dss/dsi.c | 50 +++--- 2 files changed, 51 insertions(+), 5 deletions(-) diff --git a/drivers/video/omap2/dss/dispc.c

Re: [PATCH] video: omap2: dss: RET on idle, enable/disable dss clocks only when needed.

2009-09-17 Thread Mike Chan
On Thu, Sep 17, 2009 at 4:36 PM, Mike Chan m...@android.com wrote: Signed-off-by: Mike Chan m...@android.com ---  drivers/video/omap2/dss/dispc.c |    6 -  drivers/video/omap2/dss/dsi.c   |   50 +++---  2 files changed, 51 insertions(+), 5 deletions(-)