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: 185523 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp664955ilf; Fri, 17 Apr 2020 08:57:00 -0700 (PDT) X-Google-Smtp-Source: APiQypI+7szBPPgOyp/AneBAsMx5eqXJQRO5xRLbybA94DSKcAm2fYT+8vJyC7BjHYoTpbnjiLbD X-Received: by 2002:a17:90a:6501:: with SMTP id i1mr5194250pjj.48.1587139020269; Fri, 17 Apr 2020 08:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587139020; cv=none; d=google.com; s=arc-20160816; b=UpCvArn2WDW5Su3qzJ1CnKrMVusFpkEmMlKLDutvSv7g+s7pTI7roJTJfdDlxbzHrc luC2dJZuYv70iiH0lxuCUS85WeyTDKlLVUiCwLiBHjlHnIe206E3bbhRCwkeC4zMYjBA lAlviNevIWeiFIWnXT+c8ZBMflIJClMCCXMI0VnEFRCHe8MjZoqwsi4B9IRzu3jzSU4P n4RqK9ui21+O6BXhW73bQqDxOq9ewME8EPlRquH7SmABhJnei0MQuA85v5MNLIgBj9l0 DhJT2SBqO2Wq2pvPcXhUVAYSb0WCDtynI+GfO07XeoKmCrWQk2UsMf3uGDBmmMefvPqu 9atA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=Paepb1Zjkwzl0tHBpCeXMWYHvPdbN8vtuiCdCTEEhPw=; b=kFkZfV0v1RFKOuZbyI8m6h2N0eaBlmixNfh8w4oKZ1cJYjvhQ0wmxhOQxfvkYik3DF RJRZYjCjgYkx0TV5G7c6CCsloxh8SHPXmlGOq49ZdJcD9IB+z9HyyoFjUrvhPHAWOFTo 44Wc3AKuYO9aXAE9Vhah0bmxuieNvifxH2UwRfeMjXqgYQf0iawMm3WlLrK/Bmsw66Tw h5jLNhI++EBgwFuGy8FN4XXESZ+YkJHiAk3UjW0AFsJP41bhaHQ2L963oypoLbbFcoga Pe1YgbR04roYIJVmUOQg9Iwwrk37p4RqtBjwuCxdZIRpgBzBYrmYn6qcRqCEsNOQYN5q jBxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id d9si17699327pgk.483.2020.04.17.08.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Apr 2020 08:57:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) 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-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:ihjqslpA75qTMF6wDF4+VNNTC1NuRX5DyjEZChnbH2+LduferQW jC0LdL6btHPVgdMOdMSVPpZ+znLPsqbExhraTQcyb9rSJjMpz9m6IC8Rv/hCKvIPAJcBGd0 hoMUlKQPUxa5CWHHDUiR9HooUGxQKazIExDHqcmkZ2XigqkWeJHResaEL4oAKQcpaZIWAwD ruyD6lxdbXrDz80gK0WHg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:3tM+z2ZlTSg=:Y+9HE2EHWXdISGlEwzfCoA znjKjlR25yaG0teoXA4D4CeSSX+90bjonxwvfbjYZQQcAEg91D0TCOo68kMmgHgdjxSeZ/cQE h7ea4mzL0RV4U9lI8gHxzNG7B0A+rf1wcqF+02xr5G+kX4C2wqgW9HW3lxAW7aktqf4q5efZA JXLi+n2fEBOILATNtcdS5xjaMq/0B3qRcSs/zMQKeCDxG+MvNjdR3AMR8grIoOesVD0m0wUvD yeODH5YXBaQtCzFrIkoYRb1enxS0bPVu6rTX8POeJ4YVCxP1ABi+zbsuT4BXoeW7Iap00s+hz 7xlD1BV37+gDlcxZ4GZUzs5tkkaPQIkMCGCvUJOJ3rRut1JwC7X/lr3drfx9hw5cjIaiE1LMC JgK5KNaFDR7oPdLrOS/C1OEbrOiqB8gKsjT5ZPt+0NtBNIJtfgyv9fvvcX75UR1+nfhojAaLF xC49KgXOQS2jnvO1w1VJdB5lRJmfPWJQDsRXP5sZTVRzYeLLqC0EHgTreGAoUOcQ+oxV5QDCL T7OI5dkyb/qbyPE8C09N72z19941QqlXgY5M0x2NkO9rzCPWhDkHqXL9ivrf2NiNfu/G4uOal BEFmbx0RKEk2vk9zgrHJasgEMe36VSFu6DggJ6Gk7Swe0drJO7GkfcCaQ5/jzUA+hgDkAMlWa z5WnF+9VTwvi6zaTpktEnJEvJPz1hiLDMUl/Xt+t2c8zGxhmhMNv3lkHXnPQIcSk+YBRNVSPs 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(-) -- 2.26.0 Cc: Jani Nikula Cc: Nicolas Pitre Cc: Andrzej Hajda Cc: Jason Gunthorpe Cc: Saeed Mahameed Cc: Cc: Cc: , Cc: "dri-devel@lists.freedesktop.org" , Cc: , Cc: Cc: daniel@zonque.org Cc: haojian.zhuang@gmail.com Cc: robert.jarzmik@free.fr Cc: daniel@ffwll.ch Cc: marex@denx.de Cc: stefan@agner.ch Cc: linux-graphics-maintainer@vmware.com Cc: thellstrom@vmware.com Cc: jfrederich@gmail.com Cc: dsd@laptop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Cc: geert@linux-m68k.org _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel