From patchwork Fri Apr 17 15:55:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11495491 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 36314186E for ; Fri, 17 Apr 2020 15:57:00 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F3DD20656 for ; Fri, 17 Apr 2020 15:57:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F3DD20656 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4FD3D6E1F2; Fri, 17 Apr 2020 15:56:57 +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.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1EDF36E169 for ; Fri, 17 Apr 2020 15:56:54 +0000 (UTC) Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MdeSt-1iprPw3KU5-00ZfOr; Fri, 17 Apr 2020 17:56:21 +0200 From: Arnd Bergmann To: dri-devel@lists.freedesktop.org, Jani Nikula , linux-fbdev@vger.kernel.org Subject: [PATCH 0/8] drm, fbdev: rework dependencies Date: Fri, 17 Apr 2020 17:55:45 +0200 Message-Id: <20200417155553.675905-1-arnd@arndb.de> X-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s 5L8k0Ju92kqHNPL3aAP7VTgciERckhKIKlBGQpFCZz2DlY828VoHZGEjrZjRuxqZFZfd04ylz wzH+eGBO8rrvCSJAO8TPvbKeMFvlMJr5uWCJBB8rNqGirwuBew= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marex@denx.de, dsd@laptop.org, Arnd Bergmann , Andrzej Hajda , airlied@linux.ie, masahiroy@kernel.org, Nicolas Pitre , Saeed Mahameed , thellstrom@vmware.com, haojian.zhuang@gmail.com, geert@linux-m68k.org, linux-renesas-soc@vger.kernel.org, Jason Gunthorpe , kieran.bingham+renesas@ideasonboard.com, linux-graphics-maintainer@vmware.com, Laurent.pinchart@ideasonboard.com, jfrederich@gmail.com, robert.jarzmik@free.fr, daniel@zonque.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" I tried to fix up some dependencies after the sii8620 "imply EXTCON" statementn broke, trying a few things but in the backing out a change that would completely reverse the LEDS_CLASS selects into a 'depends on'. However, what I got now are multiple changes that remove gratious "selects" that lead to circular dependencies for sii8620 and others: - Anything doing "select FB" is now gone, or becomes "depends on FB", - DDC support depends on I2C instead of selecting it - backlight class device support is never selected by framebuffer drivers but has proper dependencies I have done thousands of randconfig build tests on this, but no runtime tests. Some of the 'depends on FOO || !FOO' statements could be simplified into a new 'uses FOO' syntax based on a patch from Saeed Mahameed, but I would for the moment treat that as a cleanup that can be done later. If we can agree on these changes, maybe someone can merge them through the drm-misc tree. Please review Arnd Arnd Bergmann (8): fbdev: w100fb: clean up mach-pxa compile-time dependency fbdev/ARM: pxa: avoid selecting CONFIG_FB fbdev: rework FB_DDC dependencies drm/rcar: stop using 'imply' for dependencies drm/vmwgfx: make framebuffer support optional drm: decouple from CONFIG_FB fbdev: rework backlight dependencies drm/bridge/sii8620: fix extcon dependency arch/arm/configs/pxa_defconfig | 3 ++ arch/arm/mach-pxa/Kconfig | 7 --- arch/arm/mach-pxa/eseries.c | 14 +---- arch/arm/mach-pxa/saar.c | 2 +- arch/arm/mach-pxa/tavorevb.c | 2 +- drivers/auxdisplay/Kconfig | 1 + drivers/gpu/drm/Kconfig | 5 +- drivers/gpu/drm/bridge/Kconfig | 2 +- drivers/gpu/drm/mxsfb/Kconfig | 1 - drivers/gpu/drm/rcar-du/Kconfig | 23 +++++--- drivers/gpu/drm/vmwgfx/Kconfig | 17 +++--- drivers/gpu/drm/vmwgfx/Makefile | 4 +- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 35 +++++++----- drivers/gpu/drm/zte/Kconfig | 1 - drivers/macintosh/Kconfig | 1 + drivers/staging/fbtft/Kconfig | 1 + drivers/staging/olpc_dcon/Kconfig | 2 +- drivers/video/fbdev/Kconfig | 31 ++++++++--- drivers/video/fbdev/w100fb.c | 84 +++++------------------------ include/video/w100fb.h | 6 +-- 20 files changed, 101 insertions(+), 141 deletions(-)