Re: [PATCH 4/5] drm: Use mode_valid() in atomic modeset

2017-05-08 Thread Daniel Vetter
On Thu, May 04, 2017 at 04:13:51PM +0100, Jose Abreu wrote: > On 04-05-2017 15:40, Ville Syrjälä wrote: > > On Thu, May 04, 2017 at 03:11:41PM +0100, Jose Abreu wrote: > >> + struct drm_encoder *encoder, > >> + struct drm_crt

Re: [PATCH 4/5] drm: Use mode_valid() in atomic modeset

2017-05-04 Thread Jose Abreu
Hi Ville, On 04-05-2017 15:40, Ville Syrjälä wrote: > On Thu, May 04, 2017 at 03:11:41PM +0100, Jose Abreu wrote: >> This patches makes use of the new mode_valid() callbacks introduced >> previously to validate the full video pipeline when modesetting. >> >> This calls the connector->mode_valid()

[PATCH 4/5] drm: Use mode_valid() in atomic modeset

2017-05-04 Thread Jose Abreu
This patches makes use of the new mode_valid() callbacks introduced previously to validate the full video pipeline when modesetting. This calls the connector->mode_valid(), encoder->mode_valid(), bridge->mode_valid() and crtc->mode_valid() so that we can make sure that the mode will be accepted in

Re: [PATCH 4/5] drm: Use mode_valid() in atomic modeset

2017-05-04 Thread Ville Syrjälä
On Thu, May 04, 2017 at 03:11:41PM +0100, Jose Abreu wrote: > This patches makes use of the new mode_valid() callbacks introduced > previously to validate the full video pipeline when modesetting. > > This calls the connector->mode_valid(), encoder->mode_valid(), > bridge->mode_valid() and crtc->m