Re: [Intel-gfx] [PATCH 1/5] drm: Add __drm_atomic_helper_crtc_state_reset() & co.

2019-12-18 Thread Ville Syrjälä
On Fri, Dec 13, 2019 at 03:38:53PM -0800, Lucas De Marchi wrote: > On Thu, Nov 07, 2019 at 04:24:13PM +0200, Ville Syrjälä wrote: > >From: Ville Syrjälä > > > >Annoyingly __drm_atomic_helper_crtc_reset() does two > >totally separate things: > >a) reset the state to defaults values > >b) assign

Re: [Intel-gfx] [PATCH 1/5] drm: Add __drm_atomic_helper_crtc_state_reset() & co.

2019-12-13 Thread Lucas De Marchi
On Thu, Nov 07, 2019 at 04:24:13PM +0200, Ville Syrjälä wrote: From: Ville Syrjälä Annoyingly __drm_atomic_helper_crtc_reset() does two totally separate things: a) reset the state to defaults values b) assign the crtc->state pointer I just want a) without the b) so let's split out part a)

Re: [Intel-gfx] [PATCH 1/5] drm: Add __drm_atomic_helper_crtc_state_reset() & co.

2019-11-07 Thread Daniel Vetter
On Thu, Nov 07, 2019 at 04:24:13PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Annoyingly __drm_atomic_helper_crtc_reset() does two > totally separate things: > a) reset the state to defaults values > b) assign the crtc->state pointer > > I just want a) without the b) so let's split