Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5239069rwr; Mon, 24 Apr 2023 00:39:08 -0700 (PDT) X-Google-Smtp-Source: AKy350Yy4dQ1x5cBgavRMIeLdC4I8vjIdN46qDHfmSI7PIuV9dTgk780uonIuV3IeE1OR177T9G2 X-Received: by 2002:a05:6a00:2305:b0:63d:287f:fdf5 with SMTP id h5-20020a056a00230500b0063d287ffdf5mr16751474pfh.27.1682321948296; Mon, 24 Apr 2023 00:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682321948; cv=none; d=google.com; s=arc-20160816; b=sNIYfee2pY4du+3sGyFORTZPMOVGLgaPQp3+Sw7kq91r3XDoa4rBXoYuR2nvWTqGBn v9FmzY8pqiLyq2gsOaeCGadX2mLdclVi0wpm+OLfCG3n/ml4owwVGbXf1WKUrHGT9cuv KkI8F9ctHOTZZvAciiA1Ek8kDtynY1pBdSY7NWUILwCWi2stsPVI5GgrCWvndHcHOcuH WFeTO0hpxQcWfXmp/Ph4aGDeJsc4hXucBS+7HyfcIIAVSy2ZbhTcIgx1inqYuTYDDkr4 jCrEAYgRVRUtLehaYVIevGeNTEY6c11jqrnhuY4pIOtZEQPsXzUfczsIo9LKKZOl4oHD 7aZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=OimDt/NmNBUyvXcBc0w4BoBCmMOzdQETzrpH1y7+MwQ=; b=OXN7ddt13Hqy9pA5nZZwGyYNu16RBfeeZfngujZrbfwjbYZSme56Bpr3W4+AgsQLFP BzA0VYDCTAHICRu0Ki13plmimJpf96gLB81mUVUHMT8e15BBkQv/PYNm8lsFawb2OdkJ 6PEc5gr3G8hFYcSNuc78gwTUUu5SzRcQHpK1LSRtVQ0vqO4bHOKYlYqRBGd9bDYCYzxI /qGJ1QhY+d2I7Nn0Zpd9TGjblwbnXYZT/cV10yY17ncIjOpIzrA+kbr6xMauKjS91q2L 8hRtbzGHP1ibDdmm7Z3megpW1pHy9+ssPPC+6QLv3gVpLs8TYgzsz+5MsaVHCCrEkHjs kZug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 194-20020a6218cb000000b0063b64146c13si10737403pfy.254.2023.04.24.00.38.56; Mon, 24 Apr 2023 00:39:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231243AbjDXHds convert rfc822-to-8bit (ORCPT + 99 others); Mon, 24 Apr 2023 03:33:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230358AbjDXHdr (ORCPT ); Mon, 24 Apr 2023 03:33:47 -0400 Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1DCAE46; Mon, 24 Apr 2023 00:33:45 -0700 (PDT) Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-b980e16b27bso2748583276.2; Mon, 24 Apr 2023 00:33:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682321625; x=1684913625; 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=DaY5onaWw+pL1z9HGbzp+KYK0d+t+vOPMGHk+vaMImM=; b=NAhFApzQmwW836yoAmw5Q2RH5mpUt209f9fhM8b5MY3+mhj8XNqbiH6P3rCKjaOKjt cilr8hX8lPSZ6wtipQMk/NAs7BL78T0jMQ1/vOD8O6JJStZHR9dNCEJhCoxejkdAeBAe mETTEONVS64cMDXoFiT4oppwyEGTGHpEOelGAY4PK7Vh980DEnL5e9hGTdlgCdqHdgam crj4RWF7cfiDKT9av6bweGmnnYQdc2UZg62E91rzIpZVfdTZeBNJQ1f/QiYTdO6h44oZ iLn4y9hg8NxbWtjslRfygY0PmficM09ogWbNRt+BFRkyNVO+P3h2yQDehip1A64+yJSy 226Q== X-Gm-Message-State: AAQBX9cVT3QaPFllw3sVfEqXDOubasAv9GBH82aF2ZC7lmHbayKRcsni VW2uEqBr1M8n40el36/9rVxrQIAQdTfJZQ== X-Received: by 2002:a25:ae51:0:b0:b8e:ef6c:fe5 with SMTP id g17-20020a25ae51000000b00b8eef6c0fe5mr8696188ybe.20.1682321624601; Mon, 24 Apr 2023 00:33:44 -0700 (PDT) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com. [209.85.219.171]) by smtp.gmail.com with ESMTPSA id u44-20020a25ab2f000000b00b999ed81794sm482160ybi.0.2023.04.24.00.33.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Apr 2023 00:33:44 -0700 (PDT) Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-b99489836aaso1622625276.0; Mon, 24 Apr 2023 00:33:44 -0700 (PDT) X-Received: by 2002:a25:2786:0:b0:b96:5262:ea40 with SMTP id n128-20020a252786000000b00b965262ea40mr7094245ybn.24.1682321624116; Mon, 24 Apr 2023 00:33:44 -0700 (PDT) MIME-Version: 1.0 References: <20230412095509.2196162-1-cyril@debamax.com> <20230412095509.2196162-3-cyril@debamax.com> In-Reply-To: <20230412095509.2196162-3-cyril@debamax.com> From: Geert Uytterhoeven Date: Mon, 24 Apr 2023 09:33:32 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] drm/ofdrm: Update expected device name To: Cyril Brulebois Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann , Rob Herring , Michal Suchanek , linux-kernel@vger.kernel.org, stable@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Cyril, CC DT On Wed, Apr 12, 2023 at 12:05 PM Cyril Brulebois wrote: > Since commit 241d2fb56a18 ("of: Make OF framebuffer device names unique"), > as spotted by Frédéric Bonnard, the historical "of-display" device is > gone: the updated logic creates "of-display.0" instead, then as many > "of-display.N" as required. > > This means that offb no longer finds the expected device, which prevents > the Debian Installer from setting up its interface, at least on ppc64el. > > Given the code similarity it is likely to affect ofdrm in the same way. > > It might be better to iterate on all possible nodes, but updating the > hardcoded device from "of-display" to "of-display.0" is likely to help > as a first step. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=217328 > Link: https://bugs.debian.org/1033058 > Fixes: 241d2fb56a18 ("of: Make OF framebuffer device names unique") > Cc: stable@vger.kernel.org # v6.2+ > Signed-off-by: Cyril Brulebois Thanks for your patch, which is now commit 3a9d8ea2539ebebd ("drm/ofdrm: Update expected device name") in fbdev/for-next. > --- a/drivers/gpu/drm/tiny/ofdrm.c > +++ b/drivers/gpu/drm/tiny/ofdrm.c > @@ -1390,7 +1390,7 @@ MODULE_DEVICE_TABLE(of, ofdrm_of_match_display); > > static struct platform_driver ofdrm_platform_driver = { > .driver = { > - .name = "of-display", > + .name = "of-display.0", > .of_match_table = ofdrm_of_match_display, > }, > .probe = ofdrm_probe, Same comment as for "[PATCH 1/2] fbdev/offb: Update expected device name". https://lore.kernel.org/r/CAMuHMdVGEeAsmb4tAuuqqGJ-4+BBETwEwYJA+M9NyJv0BJ_hNg@mail.gmail.com Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds