]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce intel_crtc_{alloc,free}()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Nov 2019 14:24:15 +0000 (16:24 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Dec 2019 14:47:34 +0000 (16:47 +0200)
commitae82b332a2249dc10b8b565455ece150d7dcb758
treeadbdec9cccccd1927bdbecc6551770a16d224f2e
parentb2f9ee4a5f84f27a97bbe64f7106601bacaa12b2
drm/i915: Introduce intel_crtc_{alloc,free}()

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ä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107142417.11107-3-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_display.c