From patchwork Thu Mar 7 15:53:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10843281 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0F07B1575 for ; Thu, 7 Mar 2019 15:53:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF5022F209 for ; Thu, 7 Mar 2019 15:53:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E351C2F438; Thu, 7 Mar 2019 15:53:36 +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 A4E6A2F209 for ; Thu, 7 Mar 2019 15:53:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B015F6E2FD; Thu, 7 Mar 2019 15:53:35 +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 [212.227.17.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA3F06E2FD for ; Thu, 7 Mar 2019 15:53:33 +0000 (UTC) Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MekKJ-1gTgZs3yVh-00akPg; Thu, 07 Mar 2019 16:53:26 +0100 From: Arnd Bergmann To: Yannick Fertre , Philippe Cornu , Benjamin Gaignard , Vincent Abriou , David Airlie , Daniel Vetter , Maxime Coquelin , Alexandre Torgue Subject: [PATCH] drm/stm: fix CONFIG_FB dependency Date: Thu, 7 Mar 2019 16:53:14 +0100 Message-Id: <20190307155323.2949975-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:cGeAUO8B0pPL+6GrxfyVPhHZVXyUhkXKXDHcs0djJ5BWC1J0m8Y zzEXLJ0gNERhK32hsBSZ17r0gi3mwakR2qTn+I5P0BaJzoy8PbGKj5maWOswrN/8FFlFFsd W0VBNDs2x/2YhTOumQa9Fzi+me/8rzQy0H7VFUaIP5bUtGHg4RRYZB56vuPRrEoJ+tgHu8K 94Tw4LGhjq8S46zSlH6Ag== X-UI-Out-Filterresults: notjunk:1;V03:K0:nfHIGyaxpPs=:c0QVHjAYx2QoCGFoeSYo5E hZEAXIbHIg5BF9hgiu/p/T/MD1Ud5oyk06CJ80KNyhPkGM9vfNpstmsXSmq9plCD0czcxpH8M c9mSnZDIuE0sCzXu77YzRTnudhWc+PfyBNNOF5xntWdHhfL6Y91yq89TF5ClLsHmWmpjF3zpA EDp7Qw+huMuKyTGhN6eqgOi96LC+HYkZB7/F9ZVHbmpRew+IIUdWyWafXpXecFA2kk2pxEmbI 9lXwyETbusHgENQVn+T1Sme6hGlNmPO+L2jVWGGBGqXeELBv/T6gwNyTYTOZvdI4zQQ72V3EM VEAjlCryqJ2W+ehV6yEpSL22o2F/m3pMVfB8tDot2OuLY8IzItlugZiAj+ZhD5T8o1pRKHb7h NruKiKp1lHGQlVZpIOY8MHuE9mgAZDC9hD4lD7V5lREtahqWSHCk8rBvnOKy72V2cjgkhQIYO Kfyv2kMhFIm3uaaqPEgQToFZ6Y9NfryFl+hlYqQJszUTGTaJudZD1t6+XHC3aYO8qDDK7a0Gf qMesTfRll6NqirCKuMTs3l5ibCKRctM0hSByDcEhZYToJJ4HsFR7Z4UHt1kVNvWzp3/4x2dwp zJdd64O9x08s67W78TtsMi4L/8PSuXqswzrfWQNmvRQhLILG+IGLC79qHfYUsOwfIg0rCNQR7 ioOED6bAS0Wbc7+RR0AqyUl+z0Vg4EzQn8kogka7m29uXt7JlDhJx3RCSThcva0ZCiOm+Bg37 Xdi9GeocSsp0zmG+qonz0GmT6tQyyEpUOOpihQ== 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: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-stm32@st-md-mailman.stormreply.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The DRM_STM driver can be built independently of the framebuffer layer, but it causes a Kconfig warning: WARNING: unmet direct dependencies detected for FB_PROVIDE_GET_FB_UNMAPPED_AREA Depends on [n]: HAS_IOMEM [=y] && FB [=n] Selected by [y]: - DRM_STM [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARCH_STM32 [=n] || ARCH_MULTIPLATFORM [=y]) Selecting FB_PROVIDE_GET_FB_UNMAPPED_AREA actually has no effect if CONFIG_FB is disabled, so we can make it a conditional 'select' instead. Signed-off-by: Arnd Bergmann Reviewed-by: Yannick Fertré Signed-off-by: Arnd Bergmann Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/gpu/drm/stm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/stm/Kconfig b/drivers/gpu/drm/stm/Kconfig index 35367ada3bc1..d15b10de1da6 100644 --- a/drivers/gpu/drm/stm/Kconfig +++ b/drivers/gpu/drm/stm/Kconfig @@ -6,7 +6,7 @@ config DRM_STM select DRM_KMS_CMA_HELPER select DRM_PANEL_BRIDGE select VIDEOMODE_HELPERS - select FB_PROVIDE_GET_FB_UNMAPPED_AREA + select FB_PROVIDE_GET_FB_UNMAPPED_AREA if FB help Enable support for the on-chip display controller on