From patchwork Mon Jul 9 15:48:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10514999 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5406C6032A for ; Mon, 9 Jul 2018 15:49:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42DEF28B72 for ; Mon, 9 Jul 2018 15:49:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 369EB28C73; Mon, 9 Jul 2018 15:49:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E3F6C28B72 for ; Mon, 9 Jul 2018 15:49:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 017A46E478; Mon, 9 Jul 2018 15:49:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1BA9E6E478 for ; Mon, 9 Jul 2018 15:49:17 +0000 (UTC) Received: from wuerfel.lan ([46.223.138.35]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0LqCzQ-1gG1xM36ZM-00dpUb; Mon, 09 Jul 2018 17:49:08 +0200 From: Arnd Bergmann To: Gustavo Padovan , Maarten Lankhorst , Sean Paul , David Airlie Subject: [PATCH] drm: vkms: select DRM_KMS_HELPER Date: Mon, 9 Jul 2018 17:48:18 +0200 Message-Id: <20180709154901.1989316-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:01ryQ/2IL83F4/pFX2IwSpvFPEhhfEaFfWFVR45rPRn2tyJbTg3 8/RKSR8ytL71+HOl14aM4eYj6U/C9nGjvb89LvJO9B6R/WmlY/WawWstno+3aJJ954x7k9I FZBhcSgf4BLZpThRkEk2PYimTghehX0ZtqbK6HqpItwhmaiq/6L3l4T2BykA9MfKM9b2FmZ Awx2pwiazICNHf+sDhpGQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:w6ro+ZSJ8pM=:sVsKSeh4yDolHeAgbpBGJ+ rPWtW31OMhNauR/R00iiybgG8HVYElfuPCwbSa4CX4RPMfT4rKSxM7mZKajV8zoJd8Xf/dPWj 9G+meJC/s8U6UftPkHs2L46XqjT7FpcamAuqbHgKqpdodDpAjn/TsqREllQnvnge4JIoOvxJ0 dR1we0tKrsF5/9AwvdEA5tDP8VQE8GSqd0TTUp9J9ogsxGYKQpoUQlDbicEO4WkzieNWBVat7 QuExcneAwZPFXhJ1dw3J1j2EdS1QDCte2JfIO8kVo39BtK0GKzfLxAHivhs6TaTnEjDljsqTu +gOMkbDolU4WvPjdhZA6I7B2ejmxy46tnfSMItXsDSsvbinD+IgwDIMs5AP1dDH9QKcWWxewL +qlKCdV3ubnIBke5feLhEa/3ev3/L08bKSYo54QEZ8Idy/VURx03BIWwHnNFKBD1vC04uMyoF UCxyCEnTUxZ7ZezZS/6wTL0eAKV5IBbZRAWETTAgO8DYyqAwB5NiRmxEH4yb/SsS/l0l9wS27 67BDpHVekP2YLM2YqexHCEN6Bc+/CXiAN/YnzidUybseRLu1iUpBlIPvlmzp88md9kZPC2F9S lUlj/3Ye4FGrpvl0blCV+06rbR014mXRCrtShGusy3rIXMNvqdtbmqwIPuhV+HUSXPSPlwGOJ w9bMa/R2wGS0jOjjzWbrfFRk9Z2Df+ZlNFrhRCeN/ilNSAszjNZFb/K9+CiQVqxLjB0A= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haneen Mohammed , Hans de Goede , Rodrigo Siqueira , Arnd Bergmann , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Alex Deucher MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Without this, we get link errors during randconfig build: drivers/gpu/drm/vkms/vkms_drv.o:(.rodata+0xa0): undefined reference to `drm_atomic_helper_check' drivers/gpu/drm/vkms/vkms_drv.o:(.rodata+0xa8): undefined reference to `drm_atomic_helper_commit' drivers/gpu/drm/vkms/vkms_plane.o:(.rodata+0x0): undefined reference to `drm_atomic_helper_update_plane' drivers/gpu/drm/vkms/vkms_plane.o:(.rodata+0x8): undefined reference to `drm_atomic_helper_disable_plane' drivers/gpu/drm/vkms/vkms_plane.o:(.rodata+0x18): undefined reference to `drm_atomic_helper_plane_reset' drivers/gpu/drm/vkms/vkms_plane.o:(.rodata+0x28): undefined reference to `drm_atomic_helper_plane_duplicate_state' drivers/gpu/drm/vkms/vkms_plane.o:(.rodata+0x30): undefined reference to `drm_atomic_helper_plane_destroy_state' drivers/gpu/drm/vkms/vkms_output.o:(.rodata+0x1c0): undefined reference to `drm_helper_probe_single_connector_modes' drivers/gpu/drm/vkms/vkms_crtc.o:(.rodata+0x40): undefined reference to `drm_atomic_helper_crtc_reset' drivers/gpu/drm/vkms/vkms_crtc.o:(.rodata+0x70): undefined reference to `drm_atomic_helper_set_config' drivers/gpu/drm/vkms/vkms_crtc.o:(.rodata+0x78): undefined reference to `drm_atomic_helper_page_flip' drivers/gpu/drm/vkms/vkms_crtc.o:(.rodata+0x90): undefined reference to `drm_atomic_helper_crtc_duplicate_state' drivers/gpu/drm/vkms/vkms_crtc.o:(.rodata+0x98): undefined reference to `drm_atomic_helper_crtc_destroy_state' Fixes: 854502fa0a38 ("drm/vkms: Add basic CRTC initialization") Fixes: 1c7c5fd916a0 ("drm/vkms: Introduce basic VKMS driver") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 516a8f5d1ac6..e527772f5ca6 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -214,6 +214,7 @@ config DRM_VGEM config DRM_VKMS tristate "Virtual KMS (EXPERIMENTAL)" depends on DRM + select DRM_KMS_HELPER default n help Virtual Kernel Mode-Setting (VKMS) is used for testing or for