]> git.karo-electronics.de Git - linux-beck.git/commit
drm/armada: use number of CRTCs registered
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 22 Apr 2014 10:02:23 +0000 (11:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Jul 2014 15:24:45 +0000 (16:24 +0100)
commitd016540722bb412ffa8376a9db0de757ce915bfb
tree36aefe4ee59e489c84042f817260d90173bd09c2
parente5d9ddfbb79667fb4b16db07c3282a2304fbf3ff
drm/armada: use number of CRTCs registered

Use the number of CRTCs registered to size the vblank arrays rather than
our own count.  Number CRTCs using this as well.  This permits us to
register CRTCs as components in the near future rather than as part of a
single device.

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