Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1164121rwp; Thu, 13 Jul 2023 07:06:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZhvwA6CPBnaS8QcXE5dn6fWSUpCQlmH4GPHUA2WFLztKIvff88SEHU8Bp6tmCdWIT0BPE X-Received: by 2002:ac2:4289:0:b0:4f8:5964:ac63 with SMTP id m9-20020ac24289000000b004f85964ac63mr1066705lfh.24.1689257204430; Thu, 13 Jul 2023 07:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689257204; cv=none; d=google.com; s=arc-20160816; b=ocuidtKFjJbkTTy0idcfqW6rZeLHS77THzJ8wZUsCgMdnq9P7iR4U4gAK2XXM8LZCi TH8Cr+yTnTm0Fg0UGHJx3irFwSUFLC41hYyAqadA3lulvPTsgqFVSefVvv6/7CQnl8xm Tapm6gpWZf7beHTmfOGKwDq0GLpZhTgTUUtrQNT92ejheBHKXBgds4vSLVbjM0bvTn8x JaIPGpxfPDz/wwP6SMKl0TscfOUMcuOLZ04029t4xC+LV3LBnk7YRVofquKF3BL76EtJ DFvmp01AGmwdjWKcgAzE3MVn0VCsLeeG1+xRyGfAMf7WuF2QcjF1yBG18TdnoR5LdP23 XTNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=c0ZMPU+lflRMQn9V6KJ8qOHjdTsHe7Wf/wV6+Jv8+gE=; fh=PNQfnB7PqvOL0Q4oSupl29VWj9koj0+J+BPKELKIIF8=; b=wFBOoovdSDAsYfX6P3ML5cLOhSTU7grANvsCS0Hw5ulkfu6PV8oRYNYv9plh0wWOKo ySz0KIMkivGYcDFIdnd8D0tEVSB7AJlVOLSHxh7K9h6fz5uRmn2Vl+369v7E6mZu7xfG HyjogNACzMvACQV/2xIEX91yRMqZmflcgrU9g4faaPRAK9AhR6Is4VSgZFZD9nOEdff8 W4sIEwO0cWl7q2RRlHx+0dfRhRT7rhy7su/0QlQX6sLf+O5sbpWg82yCIuvwGthU3bLC sCqc2ll8VWeVYctqHDRe31z8ZE5vmXJsmiwrhpytzT8sz5cGEFUdtQ61avS74I8gi1Cv 3i6Q== 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 q11-20020aa7d44b000000b0051df24a8af7si7204990edr.200.2023.07.13.07.06.20; Thu, 13 Jul 2023 07:06:44 -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 S231386AbjGMNxz convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 Jul 2023 09:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231250AbjGMNxy (ORCPT ); Thu, 13 Jul 2023 09:53:54 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99E1A211F; Thu, 13 Jul 2023 06:53:51 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qJwlO-003u9E-2D; Thu, 13 Jul 2023 15:53:46 +0200 Received: from p57bd9f0d.dip0.t-ipconnect.de ([87.189.159.13] helo=suse-laptop.fritz.box) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qJwlN-002pvx-QH; Thu, 13 Jul 2023 15:53:45 +0200 Message-ID: <4622810f8bceb66f212fa09d34b10f0d2d71a35d.camel@physik.fu-berlin.de> Subject: Re: [PATCH v2 08/18] sh: Assign FB_MODE_IS_UNKNOWN to struct fb_videomode.flag From: John Paul Adrian Glaubitz To: Thomas Zimmermann , deller@gmx.de, javierm@redhat.com Cc: linux-sh@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-geode@lists.infradead.org, linux-nvidia@lists.surfsouth.com, linux-hyperv@vger.kernel.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, Sam Ravnborg , Yoshinori Sato , Rich Felker Date: Thu, 13 Jul 2023 15:53:44 +0200 In-Reply-To: <20230713130338.31086-9-tzimmermann@suse.de> References: <20230713130338.31086-1-tzimmermann@suse.de> <20230713130338.31086-9-tzimmermann@suse.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 87.189.159.13 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 Thu, 2023-07-13 at 14:58 +0200, Thomas Zimmermann wrote: > Assign FB_MODE_IS_UNKNOWN to sh7763fb_videomode.flag instead of > FBINFO_FLAG_DEFAULT. Both are 0, so the stored value does not change. > > FBINFO_FLAG_DEFAULT is a flag for a framebuffer in struct fb_info. > Flags for videomodes are prefixed with FB_MODE_. > > v2: > * assign FB_MODE_IS_UNKNOWN (Adrian) > > Signed-off-by: Thomas Zimmermann > Acked-by: Sam Ravnborg > Cc: Yoshinori Sato > Cc: Rich Felker > Cc: John Paul Adrian Glaubitz > --- > arch/sh/boards/mach-sh7763rdp/setup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/sh/boards/mach-sh7763rdp/setup.c b/arch/sh/boards/mach-sh7763rdp/setup.c > index 97e715e4e9b3..e25193001ea0 100644 > --- a/arch/sh/boards/mach-sh7763rdp/setup.c > +++ b/arch/sh/boards/mach-sh7763rdp/setup.c > @@ -119,7 +119,7 @@ static struct fb_videomode sh7763fb_videomode = { > .vsync_len = 1, > .sync = 0, > .vmode = FB_VMODE_NONINTERLACED, > - .flag = FBINFO_FLAG_DEFAULT, > + .flag = FB_MODE_IS_UNKNOWN, > }; > > static struct sh7760fb_platdata sh7763fb_def_pdata = { Acked-by: John Paul Adrian Glaubitz -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913