]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: crtc: Move the CRTC initialisation to a separate function
authorMaxime Ripard <maxime@cerno.tech>
Thu, 11 Jun 2020 13:36:51 +0000 (15:36 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 7 Jul 2020 08:51:21 +0000 (10:51 +0200)
commita0bd432956cf99de51a9d6cf092441cd986f4128
tree68e299a60178c76fc27e92699df694ad388c0d61
parent835231bcb30f1869b92bac66944d416b21829411
drm/vc4: crtc: Move the CRTC initialisation to a separate function

The upcoming patches to turn the TXP into a full-blown CRTC will have the
same CRTC initialisation code, so let's move it into a separate, public,
function so that we can reuse it later on.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/3a3026c0e7408895d154d8dea454cf6d1c459715.1591882579.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_drv.h