Re: [PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume.

2015-03-02 Thread Pavel Machek
Hi! > > Looking at the drivers/tty/vt/vt_ioctl.c, it sounds to me that we should > > always do pm_set_vt_switch(0), as omapdss restores everything just fine > > on resume. Although it makes me wonder how it works if there are two > > display controllers, one needing the switch and the other

Re: [PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume.

2015-03-02 Thread Pavel Machek
Hi! Looking at the drivers/tty/vt/vt_ioctl.c, it sounds to me that we should always do pm_set_vt_switch(0), as omapdss restores everything just fine on resume. Although it makes me wonder how it works if there are two display controllers, one needing the switch and the other not... I

Re: [PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume.

2015-02-25 Thread NeilBrown
On Wed, 25 Feb 2015 12:03:36 +0200 Tomi Valkeinen wrote: > On 25/02/15 11:37, NeilBrown wrote: > > > > These devices do not need to return to non-graphic console > > for suspend, so disable that option. > > This means there is less work to do in the suspend/resume cycle, > > making it smoother

Re: [PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume.

2015-02-25 Thread Tomi Valkeinen
On 25/02/15 11:37, NeilBrown wrote: > > These devices do not need to return to non-graphic console > for suspend, so disable that option. > This means there is less work to do in the suspend/resume cycle, > making it smoother and cheaper. > > > Signed-off-by: NeilBrown > > -- > Hi Tomi, > I

[PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume.

2015-02-25 Thread NeilBrown
These devices do not need to return to non-graphic console for suspend, so disable that option. This means there is less work to do in the suspend/resume cycle, making it smoother and cheaper. Signed-off-by: NeilBrown -- Hi Tomi, I wonder if you would consider this patch too. It works for

Re: [PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume.

2015-02-25 Thread NeilBrown
On Wed, 25 Feb 2015 12:03:36 +0200 Tomi Valkeinen tomi.valkei...@ti.com wrote: On 25/02/15 11:37, NeilBrown wrote: These devices do not need to return to non-graphic console for suspend, so disable that option. This means there is less work to do in the suspend/resume cycle, making it

[PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume.

2015-02-25 Thread NeilBrown
These devices do not need to return to non-graphic console for suspend, so disable that option. This means there is less work to do in the suspend/resume cycle, making it smoother and cheaper. Signed-off-by: NeilBrown n...@brown.name -- Hi Tomi, I wonder if you would consider this patch too.

Re: [PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume.

2015-02-25 Thread Tomi Valkeinen
On 25/02/15 11:37, NeilBrown wrote: These devices do not need to return to non-graphic console for suspend, so disable that option. This means there is less work to do in the suspend/resume cycle, making it smoother and cheaper. Signed-off-by: NeilBrown n...@brown.name -- Hi Tomi,