drm: select FRAMEBUFFER_CONSOLE_PRIMARY if we have FRAMEBUFFER_CONSOLE
authorDave Airlie <airlied@redhat.com>
Thu, 21 Apr 2011 21:51:33 +0000 (07:51 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 27 Apr 2011 06:54:06 +0000 (16:54 +1000)
Multi-gpu/switcheroo relies on this option to get the console on the
correct GPU at bootup, some distros enable it but it seems some get
it wrong.

cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Kconfig

index c58f691ec3ce6f4d62aaf3248b6bec39a887c60a..b493663c7ba717a0652e45b456fac3d95aa56de4 100644 (file)
@@ -24,6 +24,7 @@ config DRM_KMS_HELPER
        depends on DRM
        select FB
        select FRAMEBUFFER_CONSOLE if !EXPERT
+       select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY if FRAMEBUFFER_CONSOLE
        help
          FB and CRTC helpers for KMS drivers.