[PATCH] drm: allow changing DPMS mode for non-CRTC displays

2016-12-02 Thread Eric Engestrom
On Thursday, 2016-12-01 14:15:05 +, Chris Wilson wrote: > On Thu, Dec 01, 2016 at 03:30:01PM +0200, Marta Lofstedt wrote: > > For non-CRTC displays, > > A connector not attached to a CRTC works. It is the active connectors > that were broken. > > > the drm_atomic_helper_connector_dpms > > wil

[PATCH] drm: allow changing DPMS mode for non-CRTC displays

2016-12-02 Thread Lofstedt, Marta
> -Original Message- > From: Chris Wilson [mailto:chris at chris-wilson.co.uk] > Sent: Thursday, December 1, 2016 4:15 PM > To: Lofstedt, Marta > Cc: dri-devel at lists.freedesktop.org > Subject: Re: [PATCH] drm: allow changing DPMS mode for non-CRTC displays > &

[PATCH] drm: allow changing DPMS mode for non-CRTC displays

2016-12-01 Thread Marta Lofstedt
For non-CRTC displays, the drm_atomic_helper_connector_dpms will always set the connector back the old DPMS state before returning. This makes it impossible to change DPMS state. fixes: 0853695c3ba46f97dfc0b5885f7b7e640ca212dd Signed-off-by: Marta Lofstedt --- drivers/gpu/drm/drm_atomic_helper.

[PATCH] drm: allow changing DPMS mode for non-CRTC displays

2016-12-01 Thread Chris Wilson
On Thu, Dec 01, 2016 at 03:30:01PM +0200, Marta Lofstedt wrote: > For non-CRTC displays, A connector not attached to a CRTC works. It is the active connectors that were broken. > the drm_atomic_helper_connector_dpms > will always set the connector back the old DPMS state > before returning. This