Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2420127rdb; Tue, 12 Sep 2023 00:51:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEai9kIVx94wVvJBkvLIjcdWndDWXj/3ZZWCDK5QLel1H5YIFOERkvAJfuU3/cXWsbEealn X-Received: by 2002:a05:6a20:974c:b0:153:24c2:c93b with SMTP id hs12-20020a056a20974c00b0015324c2c93bmr12588535pzc.1.1694505075706; Tue, 12 Sep 2023 00:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694505075; cv=none; d=google.com; s=arc-20160816; b=FsOXTTeiDcVPb8gEmdNVohOFprJJaEpeYh/HafbTrJWH4xBQk4XNyxERXKrtaWjLEa FlgGuvZbRd22fKhZaEiqwd84DudxSW8GS3X63zq0Iy3cgUB3mrAD/848q3UAWcc3dKsD f49HO6DPPIUYBKa5HL7F+tL6EsdR0fRY9nC7M25J3v2yX41MutJr6hfTWzrzwwve/4th M4bSrfB749EDPc7hMVQlWyKPL6fM0d8PirRgabaxwYeEGPqdeJCJNDsJ2MDjO8MQzBpK Y5v2dvJsX+6bRZACb0P+OohdFMAHjObJWQJpzWiNVW2Jk3g72yLBgcxFaEXgOGsyeXp2 AiXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=zGQFnP/4L5g63Xy5O04Mk1TX20z/KNqKJKnNgxwCmQ0=; fh=99kWnFuhL1PU5EammVyRpnPQ067yKIJxwMNbicvFLLs=; b=rQ/KkbenQOVF68j3M7PCIWCNj6iEkji02y2PUjzkzDIwBEgT0ipTM+InQ0zWLJkV2L 8npriRZgbuMWWWnnhU1M7Cv0hfrvH4+MZ58l0JTUljUsOe6ZSxkZHhOm8C/r83/hlhxE ipl5w0t6vp9+K9Iva+U/PkbgfoXnkfN2goPv0632FnIPrw1eNdbvGiHc/99jrlz983NL wNoXKt/Qr/wiBLafBWRmtR0xprtAH2933lUgJF79t3rc/0UmsRDPHhZ96yMWlyGnvYsU 3w/yY4/RsSSJzjf5U9G5Odl82DM+w8cCATmb6ifsnq7Mp+R6HomSFHQcn6hLGuaueoQW W7OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LvcTHqkg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ay37-20020a056a00302500b0068fca125aaasi2678189pfb.232.2023.09.12.00.51.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 00:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LvcTHqkg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A8C6881D6BFC; Tue, 12 Sep 2023 00:47:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231769AbjILHrU (ORCPT + 99 others); Tue, 12 Sep 2023 03:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230467AbjILHrU (ORCPT ); Tue, 12 Sep 2023 03:47:20 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48B9BE73; Tue, 12 Sep 2023 00:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694504836; x=1726040836; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=8EXQG8egyIX1ymK9v/zGLmxWtHpBO73t/7Ai9GgfNWA=; b=LvcTHqkgTF8per1wwTRdNudXt/67+XLMywAC7rDAg+5s4B0C43Fe7Jrm 8Pu7oDAI3lw3kl9E+umXNT62dCgCv4T3IKMLxM9eG5qTfproYG7GlKP2B WTxaIyd1Qo1GCAQK2S7YKUoRpthXtRqcvxdXjKA+uIThYWftC/yFPadOx 6YsipvIW6C5D8RytfkcH4OrEG/IGV0dyQqVoTqsEr/9c4i8ka/h7xmIBW OmL/R23J7WouUV0wbk+/O6zdv/zYxYzdn3UAiifRb6Mi2ZjJEoIRNShYv Bk/BMoaSmVB9jCv00EQ0HMLjng9rXS8fB8QG2sOpq0il3nhx6+M05iRVV A==; X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="444742241" X-IronPort-AV: E=Sophos;i="6.02,245,1688454000"; d="scan'208";a="444742241" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 00:47:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="746776228" X-IronPort-AV: E=Sophos;i="6.02,245,1688454000"; d="scan'208";a="746776228" Received: from kscholl-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.63.206]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2023 00:47:13 -0700 From: Jani Nikula To: Randy Dunlap , Stephen Rothwell , Linux Next Mailing List Cc: intel-gfx@lists.freedesktop.org, Linux Kernel Mailing List , "dri-devel@lists.freedesktop.org" Subject: Re: linux-next: Tree for Sep 11 (drivers/gpu/drm/i915/display/intel_backlight.o) In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20230911121131.006d3fec@canb.auug.org.au> Date: Tue, 12 Sep 2023 10:47:11 +0300 Message-ID: <87a5tresu8.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain 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 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 00:47:22 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 fry.vger.email 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. BR, Jani. [1] https://lore.kernel.org/r/1413580403-16225-1-git-send-email-jani.nikula@intel.com -- Jani Nikula, Intel