From patchwork Wed Jul 26 13:53:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 108760 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp827714qge; Wed, 26 Jul 2017 06:53:52 -0700 (PDT) X-Received: by 10.98.218.84 with SMTP id w20mr910623pfl.240.1501077230944; Wed, 26 Jul 2017 06:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501077230; cv=none; d=google.com; s=arc-20160816; b=wvPhqGV7B9RW5rIm2FanOuVAFahyrBjCzvcVc9n0Z6OYToA4j9WslAhqDOAKruPClD ZvrCvdcrf+ti/ij20wBL/A3TljtnEk1iWpJdKaIRoGjZ6eS1NZDudlwYSQSQo53u3F6y r1GsaeyuMfqvGiAY8bKaqWvvwc5HMm0Aq/D84R7Zj9XXtT+XVHCo5W5LQL5AAh989BzO MQ7ApiiMBitd5t4Dd9pR2L9emdq2SiMXOwSFfb2uv2RzExoevJz6o6RkURz+2oegk+S7 U+uKly5eWVzcw0IDvMHKxsrl5EQlH1soI0nqjsIKmpiK1H+gkQ50IO2C3Eb9Cg3yDvcU Btog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:cc:message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=ohY9FGpDSB+Tkx+i+yhUhA4gAuHku06X/NNAN+x9oPU=; b=s7VHVxAGr/R24Yd8MQcS/jbI72aFwF623e/VNMup/HSiNfB7yKEyN4fncqK9A7d8M7 ryg2PA6is9zZSyDGNFNMYO3Xm3l/CPlgBtkGjRO0xMEcrYaumokcBnxLynQXDflg9IdJ AdWOlkOPakU+4X3xuyUzsScSu5T1t6qO7q3FYQtk/PXuok3cQi1ysIJzX98Oet0AXLA1 5JvGzlZBSus1cZ8Ylhw1XWfp2ljQ/xs8cS7fMw+fb+0Uef5lEYMQ1pUkuUmkD8jpPhhG M3ejjJyl1ADQ4lA+5T8aF63C2/0GNNT+Keyd2XyIv8SofbI2LBAg4nSsw+jGhU1EQ/Sn CwWQ== 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 n7si6981529pgs.847.2017.07.26.06.53.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 06:53:50 -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 9FFA16E7A7; Wed, 26 Jul 2017 13:53:49 +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.126.134]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E05B89D42; Wed, 26 Jul 2017 13:53:47 +0000 (UTC) Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0MRQR2-1d7rWE2LsG-00SfWG; Wed, 26 Jul 2017 15:53:22 +0200 From: Arnd Bergmann To: dri-devel@lists.freedesktop.org Subject: [PATCH 0/3] Kconfig dependencies: acpi-video, backlight and thermal Date: Wed, 26 Jul 2017 15:53:09 +0200 Message-Id: <20170726135312.2214309-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:en8lGlydcL7AorpzEZjOzlpwG5b5HVkBKRBehw9Y1aLYxhYqreC eTT/NLWZPpgrzN2cwcAAtiRbVFBgJILhNYeuNurLUtjfn248AT4eGBi9Jjl1kFyZCmUGihd ftZN8Hv1qUcl3v9e18LsPz0mE/ovFyOamAZeCKllA/oNzFp6thP4AeTmwm+4pX/ngnzgnPg 2U78zFWj13zZl4qzcXWzg== X-UI-Out-Filterresults: notjunk:1; V01:K0:TeAmFwutoNQ=:RuXKAe0pUUVb829rMqrx24 liF69uMlyhiEUSsK1EE5tmuXoMU2yQmCfoUAQZIwuTS6+9rkM1LN6IlvIy32n+BmKNGbjTxJn PflE+QOtAPQ0kDCPkcfFlz5DCUY9Ao7/ocdmzvLg+ZwguVjUwSxb0wIWKZd2hH8WxoFi2koFn F8T1uSeMHWBsO5aleXer7VIYSiLjzmD5gEg3D/oQOOsxu4dz8EE1DjEBNfTOaVleoicZTaTNS sN9hf1AcooJPzjmI7s4+sCTowbmSem8DCZKIsUOUdlJFyDua4Z8KrQ6+UW+VqNwAaivG5LuCx svNKjaF/0PsC/HkqkB59eNmIQgSFIKkOhI0Ne96gqCsIdKbPMPlR7l3QaeRglmikII/U2Yfc6 cU9+ENYxwGAT5nm89UglBFDkLeE0J7L/56/Nl35CnOet79k9I1+gjyCX9SCTIgGJyiN2J4EYN T3VxQsQ7p+43l18xmIhEZzEGCazNNAflfTGp6RzGZi1jJZMBUQ/lLXfesHbWv4UGII3oQDlkL WnKgbVLWY/6mizK41EIuY365wZkdA116gkXaVD9G1ox+ZyKscCIT7A5GcJ8v7ceh8rIdiQNep EwyqkT/6kGI5MFOGiIvmXZf6KAB3lDKoQjdoy4dPNunehcu96/Z3NN0wzzySE0qf5Bjo208+u N/4khlqVlHT78QGS1B4504ElssUaSiJZM88J9qB4Uf6GoZ52EoL99eCEgBOX0W91NpjodOTGt yJ6F2/Qcd68dL4yoLyC7b9L5abr9TJ/C/hYsXQ== Cc: nouveau@lists.freedesktop.org, platform-driver-x86@vger.kernel.org, Daniel Vetter , devel@driverdev.osuosl.org, Daniel Drake , Jens Frederich , linux-acpi@vger.kernel.org, Ben Skeggs , Russell King , Darren Hart , Len Brown , Arnd Bergmann , intel-gfx@lists.freedesktop.org, etnaviv@lists.freedesktop.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Andy Shevchenko X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi everyone, It took me a while to figure this out properly, as I kept getting circular or missing dependencies with video drivers. This set of three patches should simplify the situation a bit, mostly by cleaning up the dependencies around CONFIG_ACPI_VIDEO. With all three patches applied, I no longer run into those related warnings. If everyone agrees on the general direction, I hope we can merge all three through the DRM tree. I originally had another larger patch in the series to replace all of the 'select BACKLIGHT_LCD_SUPPORT; select BACKLIGHT_CLASS_DEVICE' statements with 'depends on LCD_CLASS_DEVICE', that would clean it up some more, but it is also a more invasive change that we can do separately at some point. Arnd Arnd Bergmann (3): backlight: always select BACKLIGHT_LCD_SUPPORT for BACKLIGHT_CLASS_DEVICE ACPI/DRM: rework ACPI_VIDEO Kconfig dependencies drm/etnaviv: add thermal dependency drivers/acpi/Kconfig | 7 +++++-- drivers/gpu/drm/etnaviv/Kconfig | 1 + drivers/gpu/drm/gma500/Kconfig | 5 +---- drivers/gpu/drm/i915/Kconfig | 7 +------ drivers/gpu/drm/nouveau/Kconfig | 10 ++-------- drivers/platform/x86/Kconfig | 9 ++++----- drivers/staging/olpc_dcon/Kconfig | 1 + 7 files changed, 15 insertions(+), 25 deletions(-) To: dri-devel@lists.freedesktop.org Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner Cc: David Airlie Cc: Patrik Jakobsson Cc: Daniel Vetter Cc: Jani Nikula Cc: Ben Skeggs Cc: Darren Hart Cc: Andy Shevchenko Cc: Jens Frederich Cc: Daniel Drake Cc: Jon Nettleton Cc: Greg Kroah-Hartman Cc: linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: etnaviv@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Cc: platform-driver-x86@vger.kernel.org Cc: devel@driverdev.osuosl.org