Re: [Intel-gfx] [PATCH 3/5] drm/i915: Introduce intel_crtc_{alloc, free}()

2019-12-09 Thread Souza, Jose
On Thu, 2019-11-07 at 16:24 +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > We already have alloc/free helpers for planes, add the same for > crtcs. The main benefit is we get to move all the annoying state > initialization out of the main crtc_init() flow. > Reviewed-by: José Roberto de

[Intel-gfx] [PATCH 3/5] drm/i915: Introduce intel_crtc_{alloc, free}()

2019-11-07 Thread Ville Syrjala
From: Ville Syrjälä We already have alloc/free helpers for planes, add the same for crtcs. The main benefit is we get to move all the annoying state initialization out of the main crtc_init() flow. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/display/intel_display.c | 74 ++---