Re: [Intel-gfx] [PATCH 4/5] drm/i915: Introduce intel_crtc_state_reset()

2019-12-09 Thread Souza, Jose
On Thu, 2019-11-07 at 16:24 +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > We have a few places where we want to reset a crtc state to its > default values. Let's add a helper for that. We'll need the new > __drm_atomic_helper_crtc_state_reset() helper for this to allow > us to just reset

[Intel-gfx] [PATCH 4/5] drm/i915: Introduce intel_crtc_state_reset()

2019-11-07 Thread Ville Syrjala
From: Ville Syrjälä We have a few places where we want to reset a crtc state to its default values. Let's add a helper for that. We'll need the new __drm_atomic_helper_crtc_state_reset() helper for this to allow us to just reset the state itself without clobbering the crtc->state pointer. And wh