Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2839771rdb; Tue, 12 Sep 2023 13:52:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFF1HvNuWkfj5lAdSMtomdF8FvA2vPxCvIkyMp39CkySC5pmFE3PAvVzEreRZ9ZJbhdMJP X-Received: by 2002:aa7:c0cb:0:b0:523:4996:a4f9 with SMTP id j11-20020aa7c0cb000000b005234996a4f9mr662946edp.34.1694551975449; Tue, 12 Sep 2023 13:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694551975; cv=none; d=google.com; s=arc-20160816; b=WkY1waWLpQEexZLqLo/kTSm8juKfgqlCcxAG6JGXL0wa2ntYvTTUotQrViMoKxP4bU TNVEhyfVfZedZNX+mIhJnl8LeaM/Giij2eQPKbGjL/rwM2Z97WZ2Es9ZO83pJDFOZzyV Tgrku5BDUa7fDv4vDTE66/74mjeYXTOLKDh/GXSPbbGiv5k4wkCG9hgqMutc8v4xMXEa 1REqyH062IOxKvB6F2rNO9TTsQutIDe2rky7Tk4mqbD6Hs6whGeKe+7ggohin1ter0Ja cfC7DB3O/d4gyOASEiz/9Z+DKRAJeyykfT2sE8xYxgi+1MXEj41nynrzcrZnFeMuiZNk J4ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/Dq/kgzmWP9Mq/RztWe10io0Pr7hKjtceCIyaERWgas=; fh=ElChhBxf+/A+dimiMJ8fN0YtS688nMpVjvtlKd6n4CE=; b=l+KvHoHsqFn6W83idGpkLJCX6SpOSEiAPJqL8ZWmfKBbADg9MsIQ8DQXBBFLci6t3t jcXP5FAPtURgcarK5ox+Mi4e5xFG/Bl3gdCVZAFTYNfmSbN48n3O78eDVtCajfxqtmON PnZlY0QwNz6rK0CUeh4fDY9VmuJGMJhDAijyzx4zSOaezo1iWE+N78lTP6ZYGCa1FIkR Zp/r6qBVYu0xdJxwylw0uj4XtnWxSHFUJTwsX7Os0fIWR72KuVjYp3CXrV8p6qm4+263 HgBvpxhKvNdBIn8Jtx+YfC/FvnEgIvuzqo9V3C/hZ/LZi8ooW7FaJI2NSIjx3zLsqvu4 SEyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=qHN5Hslg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id g11-20020aa7c58b000000b005232e129627si9639764edq.670.2023.09.12.13.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 13:52:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=qHN5Hslg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 53CFA824E533; Tue, 12 Sep 2023 07:52:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235913AbjILOwc (ORCPT + 99 others); Tue, 12 Sep 2023 10:52:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235987AbjILOwb (ORCPT ); Tue, 12 Sep 2023 10:52:31 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE3AD1BB; Tue, 12 Sep 2023 07:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=/Dq/kgzmWP9Mq/RztWe10io0Pr7hKjtceCIyaERWgas=; b=qHN5HslgceiWbG/UJUBNn1pF3A o22DOKTSiXFEG36QidRahZClCOxse7OpeqaJVrC2GYwMF2H/bbFg2YL1Metn9ZjT3qHyXue1uO+ro e4SIeuw7M46xOs/Wib4Fx+qYptqDHQ1zVrKdYPtoNwqOz9uGfYtA+zdzzIf77Ub1uDRG5eZJQ9hbk F/OBiXE4ip/BchkJcNmtZDlm1GPHU/u0Uqrh9BCFiuRZni6vi8MN61DMGrVkDsFZ3nJIElCU8Z2Es bYROUD+tYwxcJeHADYyJxvyYo0WD9/VyhwlzpWcF2gsS1htfhd7Ul4o358Nqn0kIVgqvwgsCipqo4 0uHERL/Q==; Received: from [2601:1c2:980:9ec0::9fed] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qg4kY-003fWJ-1C; Tue, 12 Sep 2023 14:52:22 +0000 Message-ID: <4364d453-3560-c3c2-15b1-146f9578755b@infradead.org> Date: Tue, 12 Sep 2023 07:52:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: linux-next: Tree for Sep 11 (drivers/gpu/drm/i915/display/intel_backlight.o) Content-Language: en-US To: Jani Nikula , Stephen Rothwell , Linux Next Mailing List Cc: intel-gfx@lists.freedesktop.org, Linux Kernel Mailing List , "dri-devel@lists.freedesktop.org" References: <20230911121131.006d3fec@canb.auug.org.au> <87a5tresu8.fsf@intel.com> From: Randy Dunlap In-Reply-To: <87a5tresu8.fsf@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 07:52:33 -0700 (PDT) X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email On 9/12/23 00:47, Jani Nikula wrote: > On Mon, 11 Sep 2023, Randy Dunlap wrote: >> On 9/10/23 19:11, Stephen Rothwell wrote: >>> Hi all, >>> >>> Please do *not* include material destined for v6.7 in your linux-next >>> included branches until *after* v6.6-rc1 has been released. Also, >>> do *not* rebase your linu-next included branches onto v6.5. >>> >>> Changes since 20230908: >>> >>> Non-merge commits (relative to Linus' tree): 643 >>> 614 files changed, 227990 insertions(+), 9502 deletions(-) >>> >>> ---------------------------------------------------------------------------- >> >> on x86_64: >> >> # CONFIG_ACPI is not set >> CONFIG_DRM_I915=y >> CONFIG_BACKLIGHT_CLASS_DEVICE=m >> >> I915 selects BACKLIGHT_CLASS_DEVICE if ACPI is set. >> >> ld: drivers/gpu/drm/i915/display/intel_backlight.o: in function `intel_backlight_device_register': >> intel_backlight.c:(.text+0x4988): undefined reference to `backlight_device_get_by_name' >> ld: intel_backlight.c:(.text+0x4a1b): undefined reference to `backlight_device_register' >> ld: drivers/gpu/drm/i915/display/intel_backlight.o: in function `intel_backlight_device_unregister': >> intel_backlight.c:(.text+0x4b56): undefined reference to `backlight_device_unregister' > > This comes up periodically. The fix is for i915 to depend on backlight, > but it's not possible to fix just i915, as it'll lead to circular deps > unless *all* select backlight is switched to depend on backlight. > > I've gone through it once [1], and not keen on doing it again unless > there's buy-in. > > IS_REACHABLE() is often suggested as a workaround, but I think it's just > plain wrong. i915=y backlight=m is not a configuration that makes > sense. Kernel configuration is hard enough, there's no point in allowing > dumb configs that just silently don't work. > Yes, IS_REACHABLE() is just fugly nonsense. Thanks for the reminder of your attempt(s). > > BR, > Jani. > > > [1] https://lore.kernel.org/r/1413580403-16225-1-git-send-email-jani.nikula@intel.com > > > -- ~Randy