Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35644112rwd; Mon, 10 Jul 2023 10:16:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlHgM9CIVG4qQn0XSKnXJdEo9zPCuCfGSM6Q1IhJMJ55pRlT0/Aocw/dh4MF5XJP6CGufLjq X-Received: by 2002:a05:6a00:1885:b0:680:98c:c58d with SMTP id x5-20020a056a00188500b00680098cc58dmr15234658pfh.2.1689009410192; Mon, 10 Jul 2023 10:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689009410; cv=none; d=google.com; s=arc-20160816; b=q2KWE55LxSIt/2REp0LlCIMOh6QtId2as5Nq27AmUFwrB8baum/0W5DUwPkhd2TfpU H9kX2lxAnZVcfCLCcPCAf6XtHBizR0S6YXNzkz7v1+iI/emDv4UVWkM263mokZ7RfN6q Fv+eLQGYk6s2H2yCRCBgqlIhgo4jm2zj5YP7Cgc+6oOxp5Tz2jT/DZxNErdYi6/Pb/O9 BseYemGC02tBdIwdHSeaQpr1JKKwMzBMLKyxrmP2s3h4CtM+VW3fIsqI6njYZd3taBay SuRmi3A5UGWNAv9eQ7PXhfoLS0UVhhkb/VMZ7eU2x622/y7pGkKupTCAy46Z+zhQmgvB jI1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=50GMs5nmGpITPWTG7u5Zcxqbmkf0dcUoVQiJpGtLvBg=; fh=P4o7O7a90UnjfbW43sIoTD565MgA03mIhJTAE5Xfuzk=; b=BypNuM05nehVPMobGPshsdgZNNEUhSSow5jAA5yBNOi9alyxE0o4FBYKEoNANojlD1 9Cs+7vOHP27iCuel8Pqbmet+mEx5y0sKrFmdNqa9zMbpZHzBq61oJcTz7oZzydkpEads cfEZ3gw03SpQ1jmaakxNIhHpdWGedQdPr8uTEBxamgGofYw+Th0lftmbK1l85iRfI3Qu Ocuy1p8NhqzwH1KHLa6LTnk3MezZjydd3uPrtDRPXOXYOtAbcx4qhXFFfrTuWFXxSDgj EPW+zXq+O83a8LYtrqJo5Ss/i/w5J/yr32Pf7RZJ/FlJx3nttaqzTQL5euVMzcV8qhTY GCpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MAkcYfuu; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fc41-20020a056a002e2900b006826f17d020si44684pfb.243.2023.07.10.10.16.37; Mon, 10 Jul 2023 10:16:50 -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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MAkcYfuu; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbjGJQgr (ORCPT + 99 others); Mon, 10 Jul 2023 12:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbjGJQgp (ORCPT ); Mon, 10 Jul 2023 12:36:45 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59333127; Mon, 10 Jul 2023 09:36:44 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 1A72E1FF06; Mon, 10 Jul 2023 16:36:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689007003; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=50GMs5nmGpITPWTG7u5Zcxqbmkf0dcUoVQiJpGtLvBg=; b=MAkcYfuu2e/AwBYCJ8iEsRGbL7yA8cBwUv3bbYwWUSPqAWWE3+OD7CUwXSDvzwimmPxDm1 snlvw8+Zbn4vbzubmlOotkSLqVnSnZZloPrWWPbnQLgC3FYXKyueUbjMkHNPEQd9xpbZnd rimCb3GOjrBYy3y5WVygqzW/TA9ld7I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689007003; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=50GMs5nmGpITPWTG7u5Zcxqbmkf0dcUoVQiJpGtLvBg=; b=h+IckA4+b99FPAeRV10LGOxH9p9DpOwRbzQ2LuIS61mLAFsz2z61ZESsEGm+Evi1q3fXu3 3LuUg1XOFV1btxDg== Received: from kitsune.suse.cz (kitsune.suse.cz [10.100.12.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id E67762C142; Mon, 10 Jul 2023 16:36:42 +0000 (UTC) Date: Mon, 10 Jul 2023 18:36:41 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Cyril Brulebois Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann , Rob Herring , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 2/2] drm/ofdrm: Update expected device name Message-ID: <20230710163641.GA9196@kitsune.suse.cz> References: <20230412095509.2196162-1-cyril@debamax.com> <20230412095509.2196162-3-cyril@debamax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230412095509.2196162-3-cyril@debamax.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Wed, Apr 12, 2023 at 11:55:09AM +0200, 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 Reviewed-by: Michal Such?nek > --- > drivers/gpu/drm/tiny/ofdrm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/tiny/ofdrm.c b/drivers/gpu/drm/tiny/ofdrm.c > index 6e349ca42485..92df021d71df 100644 > --- 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, > -- > 2.30.2 >