Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp754966rdb; Fri, 2 Feb 2024 03:08:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdQOlGb2J0gRLxTbs8KL8nmDIK/1NpmKHxJ9G+7mHze+gcwHcRNOf6BMS+e4NhHg5TJNCi X-Received: by 2002:a05:622a:652:b0:42a:2834:4dcd with SMTP id a18-20020a05622a065200b0042a28344dcdmr8694678qtb.36.1706872086805; Fri, 02 Feb 2024 03:08:06 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVyHj3I4oXxHE+oqqO+pvoSkt4oxHmzYTVay3J7wdWLffxJRpanS1Foa8JDq/f4PrdW5Z6IWExeGYqGFPRvrS9LuJSrJ3ZPGqESG/AY4Q== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m1-20020a05620a290100b007833177257esi1919441qkp.557.2024.02.02.03.08.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 03:08:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49731-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-49731-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49731-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8FF791C26DDD for ; Fri, 2 Feb 2024 11:08:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C80F13BE8B; Fri, 2 Feb 2024 11:08:00 +0000 (UTC) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4D2E2B9C5 for ; Fri, 2 Feb 2024 11:07:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706872079; cv=none; b=hjp9O41ThqAWMiwpbQRd8wJZwby+K0ItkAWQzTe0me0zqa4EB2IUbtFgM9cLedySTBwkiBiHMsM+bknQH5Oui1E7cJDvv7Ss/gAP98LN45lRsNRtxbtYLzaqZjH8ZqNe946F3nr/fycEtGCMBeDHo9fY6QumB8ZsJF+78OC4ALA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706872079; c=relaxed/simple; bh=iGtOxvK1AW1BPmTTHbdgo3W+QEBoeTpB7tEwx5I2mFA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tFH3xmqKTcoes8vT5bCz7Fda+kvOAJliz2I5D1uSnjlsZX9kPjuCSnSp0eLJyvYGOGSAs+jVnTR4l2gc3cyC62J7S4v8OJ/TI8nqn7svXwqC4hJ9jEiTr+3vvBYjPvjVBJHHp66CX2I2l6jZunVT95uE4QrxST80BZKdByA6/DA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.128.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-6040a879e1eso21185737b3.3 for ; Fri, 02 Feb 2024 03:07:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706872076; x=1707476876; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jfv2qKejWElyCs3KRimHnaJxDJDdphdyezyPkNwX/u0=; b=wlT2OdXhAZe7EDcBLP9ljUD1BxLlo7pHLlkt078s/6Wmqu1R229tkmJI9xC2t+bJW6 6cN/2oBx24pEFcT/v8MOxH5vGkrGqiOoYNrn8QvEB2iRKFhHAI7bFEMf7oJvFi0wOb3a DObMknS3pzs9gaQ2uEPV27boqrDBlLbHZtyLSWmCmqwiOqBwbgW0ChKKa9pV8Ihog2I0 JpNwkLT6tU0qV5SzvKTPVyL72xoofmfM3FOBu4WXUy0WoMAcDBC4qHGYePrDLEr0DB2y tMHeQeFuzacIxM9RaTkmRVE/JN6VW5wN3UXS1KUxynonXbMjPIyWeq8Lh62fSlX4FJKe txmg== X-Gm-Message-State: AOJu0YyVVfApR7z9UkxRj2rCMVz+Lq3KcJaBxRQiMIdEzlyJhDr1dZYO Gv0YHzQelVn3avRz3npqW5piYPh+74UBTOJHIfMMcPPZKWVJx0pdE42ynT6CIfU= X-Received: by 2002:a0d:d611:0:b0:604:e15:81a with SMTP id y17-20020a0dd611000000b006040e15081amr6988313ywd.52.1706872076225; Fri, 02 Feb 2024 03:07:56 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX1MAHjVlBBwdeEaT2O/uGpQfOi36xgPA56LX1fdcyJzTioc3tyRgGynHSfsbUF3o2kPsHg39LqeNWOGjdo33lq+kbvIS9md0bF6yuh Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com. [209.85.128.173]) by smtp.gmail.com with ESMTPSA id n12-20020a819c4c000000b006040ee6289dsm352778ywa.137.2024.02.02.03.07.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Feb 2024 03:07:56 -0800 (PST) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-603fdc46852so20316727b3.2 for ; Fri, 02 Feb 2024 03:07:55 -0800 (PST) X-Received: by 2002:a81:b608:0:b0:5ff:b07b:fb0b with SMTP id u8-20020a81b608000000b005ffb07bfb0bmr7753792ywh.49.1706872075811; Fri, 02 Feb 2024 03:07:55 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240202095044.1980696-1-m.szyprowski@samsung.com> In-Reply-To: <20240202095044.1980696-1-m.szyprowski@samsung.com> From: Geert Uytterhoeven Date: Fri, 2 Feb 2024 12:07:43 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: multi_v7_defconfig: Enable BACKLIGHT_CLASS_DEVICE To: Marek Szyprowski Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Russell King , Arnd Bergmann , Geert Uytterhoeven , Krzysztof Kozlowski , Alexandre Torgue , Andrew Davis , Mark Brown , Lee Jones , Daniel Thompson , Jingoo Han , David Airlie , Daniel Vetter Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Marek, On Fri, Feb 2, 2024 at 10:51=E2=80=AFAM Marek Szyprowski wrote: > Commit 72fee6b0a3a4 ("fbdev: Restrict FB_SH_MOBILE_LCDC to SuperH") > disabled availablity of the SH_MOBILE_LCDC driver on the RENESAS arch. > This innocent change has a significant side-effect on the ARM's > multi_v7_defconfig, because FB_BACKLIGHT symbol is no longer selected, > what in turn leaves BACKLIGHT_CLASS_DEVICE symbol selected only as > a module. The latter disables some backlight related code in the DRM Oops, sorry for that. > core, because the DRM core is set to be compiled-in in this defconfig. > This leaves all DRM display panels without integrated backlight control, > even if the needed modules have been properly loaded and probed. Hmm, that's bad. Is there any way to fix this in DRM? A quick grep shows that DRM is using the full monty of IS_{BUILTIN,ENABLED,MODULE,REACHABLE}(CONFIG_BACKLIGHT_CLASS_DEVICE). Probably not all of them are in perfect sync? Several DRM drivers do select BACKLIGHT_CLASS_DEVICE, but if that does not work in the modular case, it should be fixed. > Fix this by selecting BACKLIGHT_CLASS_DEVICE to be compiled-in in > multi_v7_defconfig. > > Signed-off-by: Marek Szyprowski Sounds like a good interim solution. Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds