Message ID | 20200702211204.RESEND.v3.10.I606e8e25387b8d82547def3f4465ae62d1685f84@changeid |
---|---|
State | Accepted |
Commit | 6efa809dde1d33a3576743bafefc9ec5abdfa41c |
Delegated to: | Bin Meng |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: 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=UN+X1w5t; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49yg7R1LfWz9sR4 for <incoming@patchwork.ozlabs.org>; Fri, 3 Jul 2020 13:14:59 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 630B781B6E; Fri, 3 Jul 2020 05:13:36 +0200 (CEST) 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="UN+X1w5t"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EA06481B92; Fri, 3 Jul 2020 05:12:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (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 E3D2981B98 for <u-boot@lists.denx.de>; Fri, 3 Jul 2020 05:12:52 +0200 (CEST) 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-xd44.google.com with SMTP id f23so31113752iof.6 for <u-boot@lists.denx.de>; Thu, 02 Jul 2020 20:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cz7z+yXHgI53H7wmHBFhGqrn4dsDcWJUkwNtRI1D674=; b=UN+X1w5tpMtaDP5cwEORZPwbfRT6+vpD00V8Yr+hArv//7yImmnXTei0L1l9vdu5f9 jN0hHmzhChgVaUMSkNYOf9XZrC9DXA2Bt1iKjPJWymhbpNbLEVvLJuQ+WCjAYX04F6QE sD+uqkR7pg95PsFYL2uBks83Wtqd8Wwnef8co= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cz7z+yXHgI53H7wmHBFhGqrn4dsDcWJUkwNtRI1D674=; b=TffiJL3NJbcYLMfrBmqamoCxFbetgP/lPiQ4Xri6aQRzs8DpM8Kz/2G7j523qhKCpJ +eamyiZF6IIHDBRdcP3UtF0zfs8IsScWZ/NvwkWcjZeKxj+4mGsED4zzbJ0p0epQ17ci iA1CuFKdpgYfRBCpmL6K+kD0ODwQUpavh42QL5IC/aRiSEAj3NBh3wChMa/LX1Cd+wBn QQQtRhPThVMVPaZ0WT2e5nB0+ok+v/fIzRtyApiqVkWrSIFIUNqWov6mk6UI232XUWYG GfUAYV5dYw91CdhznKzttVNgmGsKQdntWZfDCHt/iniJa/gtV8JFIN2ta5qkf4REkXI9 CawQ== X-Gm-Message-State: AOAM5312WH6XE248qmxO797UfUpOhUEnuRWFp2ESLQlT9GHfcK5fM4Iy SaHYHXMk7N/+1+wNJdE/rTzuhQ== X-Google-Smtp-Source: ABdhPJyEsgUWamMBxbXyA19k4Q6cehpmaPTbVRKprri3JngS+rC11Ng/kB9mRgxTcha3/Rx+E5y2EQ== X-Received: by 2002:a05:6602:2103:: with SMTP id x3mr10531157iox.130.1593745971808; Thu, 02 Jul 2020 20:12:51 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id c16sm5859654ilh.54.2020.07.02.20.12.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jul 2020 20:12:51 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org>, Anatolij Gustschin <agust@denx.de>, u-boot@lists.denx.de Subject: [RESEND PATCH v3 10/26] video: Set up the copy framebuffer when enabled Date: Thu, 2 Jul 2020 21:12:21 -0600 Message-Id: <20200702211204.RESEND.v3.10.I606e8e25387b8d82547def3f4465ae62d1685f84@changeid> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog In-Reply-To: <20200703031237.1546362-1-sjg@chromium.org> References: <20200703031237.1546362-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
x86: video: Speed up the framebuffer
|
expand
|
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index 341db68e38..0c80fd5bfe 100644 --- a/drivers/video/video-uclass.c +++ b/drivers/video/video-uclass.c @@ -293,6 +293,9 @@ static int video_post_probe(struct udevice *dev) priv->fb_size = priv->line_length * priv->ysize; + if (IS_ENABLED(CONFIG_VIDEO_COPY) && plat->copy_base) + priv->copy_fb = map_sysmem(plat->copy_base, plat->size); + /* Set up colors */ video_set_default_colors(dev, false);