]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/vc4: Don't try to initialize FBDEV if we're only bound to V3D.
authorEric Anholt <eric@anholt.net>
Fri, 28 Apr 2017 22:42:22 +0000 (15:42 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 8 May 2017 19:24:06 +0000 (12:24 -0700)
commit1e70bdcbeb210afedc8f3103ff4fe295c2fa9fc1
tree9943e873a70be11883b412ee7841cb111b246db7
parentb72a2816e3711474f7a85dee0565dd68eeea2f58
drm/vc4: Don't try to initialize FBDEV if we're only bound to V3D.

There's no sense in having an fbdev if there's no display, since
connectors don't get hotplugged to this hardware.  On Cygnus we were
getting a dmesg error from passing in num_connectors (0), when that
argument is supposed to be the maximum number of cloned connectors per
CRTC (1).

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170428224223.21904-2-eric@anholt.net
drivers/gpu/drm/vc4/vc4_kms.c