Re: [Intel-gfx] [PATCH] drm/atomic: Extract needs_modeset function

2015-06-19 Thread Daniel Vetter
On Fri, Jun 19, 2015 at 06:08:08AM +0200, Maarten Lankhorst wrote: > Op 18-06-15 om 11:25 schreef Daniel Vetter: > > We use the same check already in the atomic core, so might as well > > make this official. And it's also reused in e.g. i915. > > > > Motivated by Maarten's idea to extract a connect

Re: [Intel-gfx] [PATCH] drm/atomic: Extract needs_modeset function

2015-06-18 Thread Maarten Lankhorst
Op 18-06-15 om 11:25 schreef Daniel Vetter: > We use the same check already in the atomic core, so might as well > make this official. And it's also reused in e.g. i915. > > Motivated by Maarten's idea to extract a connector_changed state out > of mode_changed. > > Cc: Maarten Lankhorst > Signed-o

[Intel-gfx] [PATCH] drm/atomic: Extract needs_modeset function

2015-06-18 Thread Daniel Vetter
We use the same check already in the atomic core, so might as well make this official. And it's also reused in e.g. i915. Motivated by Maarten's idea to extract a connector_changed state out of mode_changed. Cc: Maarten Lankhorst Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_atomic.c