drm/armada: move variant initialisation to CRTC init
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 22 Apr 2014 14:21:30 +0000 (15:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Jul 2014 15:24:46 +0000 (16:24 +0100)
commit3ecea269959afaae50b001deb294cfb9539dbea3
treeb42981b9f3226d2fa76d20482436da40b0e8e5b2
parentd016540722bb412ffa8376a9db0de757ce915bfb
drm/armada: move variant initialisation to CRTC init

Move the variant initialisation entirely to the CRTC init function -
the variant support is really about the CRTC properties than the whole
system, and we want to treat each CRTC individually when we support DT.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/armada/armada_510.c
drivers/gpu/drm/armada/armada_crtc.c
drivers/gpu/drm/armada/armada_crtc.h
drivers/gpu/drm/armada/armada_drm.h
drivers/gpu/drm/armada/armada_drv.c