[PATCH] drm: Recover DPMS properly after XRandr re-enablement

2011-04-18 Thread Takashi Iwai
At Sun, 17 Apr 2011 18:26:54 +0200, Florian Mickler wrote: > > On Wed, 22 Dec 2010 12:53:07 + > Chris Wilson wrote: > > > On Wed, 22 Dec 2010 12:42:32 +, Chris Wilson > chris-wilson.co.uk> wrote: > > > From: Takashi Iwai > > > > > This patch adds a new helper function to manage the

Re: [PATCH] drm: Recover DPMS properly after XRandr re-enablement

2011-04-18 Thread Takashi Iwai
At Sun, 17 Apr 2011 18:26:54 +0200, Florian Mickler wrote: On Wed, 22 Dec 2010 12:53:07 + Chris Wilson ch...@chris-wilson.co.uk wrote: On Wed, 22 Dec 2010 12:42:32 +, Chris Wilson ch...@chris-wilson.co.uk wrote: From: Takashi Iwai ti...@suse.de This patch adds a new

[PATCH] drm: Recover DPMS properly after XRandr re-enablement

2011-04-17 Thread Florian Mickler
On Wed, 22 Dec 2010 12:53:07 + Chris Wilson wrote: > On Wed, 22 Dec 2010 12:42:32 +, Chris Wilson chris-wilson.co.uk> wrote: > > From: Takashi Iwai > > > This patch adds a new helper function to manage the drm_connector > > DPMS so that it can be called commonly in both places. > > >

Re: [PATCH] drm: Recover DPMS properly after XRandr re-enablement

2011-04-17 Thread Florian Mickler
On Wed, 22 Dec 2010 12:53:07 + Chris Wilson ch...@chris-wilson.co.uk wrote: On Wed, 22 Dec 2010 12:42:32 +, Chris Wilson ch...@chris-wilson.co.uk wrote: From: Takashi Iwai ti...@suse.de This patch adds a new helper function to manage the drm_connector DPMS so that it can be

[PATCH] drm: Recover DPMS properly after XRandr re-enablement

2010-12-22 Thread Chris Wilson
On Wed, 22 Dec 2010 12:42:32 +, Chris Wilson wrote: > From: Takashi Iwai > This patch adds a new helper function to manage the drm_connector > DPMS so that it can be called commonly in both places. > > Signed-off-by: Takashi Iwai FWIW, Reviewed-by: Chris Wilson -Chris -- Chris

[PATCH] drm: Recover DPMS properly after XRandr re-enablement

2010-12-22 Thread Chris Wilson
From: Takashi Iwai When the output is turned off via "xrandr --off" and re-enabled again with the same mode, drm doesn't reset DPMS, thus it results in a black screen. A typical example is something like: % xrandr --output LVDS1 --mode 1024x768 % xrandr --output VGA1

[PATCH] drm: Recover DPMS properly after XRandr re-enablement

2010-12-22 Thread Chris Wilson
From: Takashi Iwai ti...@suse.de When the output is turned off via xrandr --off and re-enabled again with the same mode, drm doesn't reset DPMS, thus it results in a black screen. A typical example is something like: % xrandr --output LVDS1 --mode 1024x768 % xrandr --output VGA1

Re: [PATCH] drm: Recover DPMS properly after XRandr re-enablement

2010-12-22 Thread Chris Wilson
On Wed, 22 Dec 2010 12:42:32 +, Chris Wilson ch...@chris-wilson.co.uk wrote: From: Takashi Iwai ti...@suse.de This patch adds a new helper function to manage the drm_connector DPMS so that it can be called commonly in both places. Signed-off-by: Takashi Iwai ti...@suse.de FWIW,