Message ID | 20230225222303.2232331-9-sjg@chromium.org |
---|---|
State | Superseded, archived |
Delegated to: | Heinrich Schuchardt |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=AM+wydvD; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PPLv11KThz23hX for <incoming@patchwork.ozlabs.org>; Sun, 26 Feb 2023 09:25:49 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 991A985BE5; Sat, 25 Feb 2023 23:24:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="AM+wydvD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 21F1385B92; Sat, 25 Feb 2023 23:23:46 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A72F285B84 for <u-boot@lists.denx.de>; Sat, 25 Feb 2023 23:23:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2d.google.com with SMTP id v10so1083198iox.8 for <u-boot@lists.denx.de>; Sat, 25 Feb 2023 14:23:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UVAj0mRQktgydKtzRicbNuEt0asE6jnzJq6dOjTEfA4=; b=AM+wydvDw9kOazgnKp3T6sUi1thFZ5Ahq4Hz7Om74S3tHhNcJ+WWBnyEv1lS61aqbx vV4Y4kHELD2jfW62SlgSKGMlc2VNVFjOQs5eyqZGcHH/cjpil1+3rvcMbjMHe7526aSF towHbkXeFsLMwtAF4jjO54FBz2GPqo3qAFrM8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UVAj0mRQktgydKtzRicbNuEt0asE6jnzJq6dOjTEfA4=; b=W+4cqbF8zWLN5MJQA0ogmYGIEqoA2m21M9n6t8J0aluXMqhUABN6IgcUoruAF63yNR vZlDZ+padpZq2lGvmoefeyyxPKiFZtlaS3EjRyONqP96Cklwd+jKk9lMrKvMc/++oVgd FmJy+YywqAKnQFSzjU9+iufJIHVTLTdZCFpGGY+/qssgLJQ+rC52Egphwmeo8H+VCyvr RomnEGHk8lsoTnnrF+Dq2NS1A5tiUmf9RMW1Z2ZMQ/x32EZHtTEbaBV/spweK2oNMqE5 slNvYr/GmDM3GYtMl3MrPzCJkcYifsycLLalDYzrSviIdqT7PEvQNnIwFGfhDeLWqAqt 87Nw== X-Gm-Message-State: AO0yUKV3YVxMYuKHTsn4DqJbA043ORBpmygAJ/n3TCPwORWm49BfmmDB Ag0jCnghTUOmUMCg+rU8gOUW2rbhpE3csgqR X-Google-Smtp-Source: AK7set9PDfTvdb6pM5Zeodr4eaHCqFZFIPZyTowU5A15MYUYW9BrlvnKyo4uSklSsVoEhpSbmKHj2g== X-Received: by 2002:a6b:d803:0:b0:74c:88df:2cbb with SMTP id y3-20020a6bd803000000b0074c88df2cbbmr12510807iob.3.1677363817950; Sat, 25 Feb 2023 14:23:37 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id t12-20020a5edd0c000000b0074c8295db0csm921187iop.6.2023.02.25.14.23.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 14:23:37 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Anatolij Gustschin <agust@denx.de>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>, Jason Liu <jason.hui.liu@nxp.com>, Michal Simek <michal.simek@amd.com>, Ovidiu Panait <ovpanait@gmail.com> Subject: [PATCH v3 08/13] bbinfo: Show the size of the copy framebuffer Date: Sat, 25 Feb 2023 15:22:58 -0700 Message-Id: <20230225222303.2232331-9-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230225222303.2232331-1-sjg@chromium.org> References: <20230225222303.2232331-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
video: efi: Improve the EFI-app video console
|
expand
|
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 8ae7fb35fe9..f709904c516 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -88,11 +88,15 @@ static void show_video_info(void) device_active(dev) ? "" : "in"); if (device_active(dev)) { struct video_priv *upriv = dev_get_uclass_priv(dev); + struct video_uc_plat *plat = dev_get_uclass_plat(dev); bdinfo_print_num_ll("FB base", (ulong)upriv->fb); - if (upriv->copy_fb) + if (upriv->copy_fb) { bdinfo_print_num_ll("FB copy", (ulong)upriv->copy_fb); + bdinfo_print_num_l(" copy size", + plat->copy_size); + } printf("%-12s= %dx%dx%d\n", "FB size", upriv->xsize, upriv->ysize, 1 << upriv->bpix); }
If the copy framebuffer is enabled, show its size. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v2) Changes in v2: - Add new patch to show the size of the copy framebuffer with bdinfo cmd/bdinfo.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)