Message ID | 20200702211204.RESEND.v3.7.I077675d6a9b88621e29511331f0773f8bdaf5fc7@changeid |
---|---|
State | Accepted |
Commit | 2d7c268b595de374556601048d5cc18c367020ac |
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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=gh8v7DyB; 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 RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49yg6Q617fz9sR4 for <incoming@patchwork.ozlabs.org>; Fri, 3 Jul 2020 13:14:06 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7409481BD4; Fri, 3 Jul 2020 05:13:11 +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="gh8v7DyB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7B49481BA3; Fri, 3 Jul 2020 05:12:56 +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-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (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 827E881B62 for <u-boot@lists.denx.de>; Fri, 3 Jul 2020 05:12:50 +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-xd43.google.com with SMTP id v6so17414783iob.4 for <u-boot@lists.denx.de>; Thu, 02 Jul 2020 20:12:50 -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=djjQovkPZZGxrw53nmPIlsqZJWuyYLEBLl4C/R+vgMA=; b=gh8v7DyBfJQdAunthHShqQBSlKLuVGzbaMkam5uK5dm5gYD7xA3+TC4DtYsCYLOe5k 9bWOEVLFiZBSBFzelyYmH2kWmKlndOqxuTvOQ8YgUhyrj/lH0NCH8Dy/cIWifGjkLBTS XjLIMOzO/bnBw44QVXyc3OAyu798A8oh/RcHg= 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=djjQovkPZZGxrw53nmPIlsqZJWuyYLEBLl4C/R+vgMA=; b=fPhvaYHq313qenmDFoXa5mPtxnc2Ba6LXWp5UrCSDu/0WfUkXLVIZTdvbi/gtbztrp m5nrPwLom94QPcNbOE1Np9hjziwjD0C6jXdx0OYwx/zKTKXn7NvS8UK/kkuaRhYvCxOh /3KYbqkeBQIQQsXIk20ckVJrkgXsfPXnHPwbEPB/JwrR4v0fBXZewbgYplfclLmLGyBb QF6Dxy8qq36ghe/ZlyPxritLi1jYbhty1dRpgrLgAZVgkFcX+Cq+XdtSeUhYd6/62jIX km5ldGXf407pfbR7LV0MXmlrUpT2HND2RTxwk80Nt7N4yPXKMzy1UBgnez7/uL3reb2q KFnA== X-Gm-Message-State: AOAM532CjIVh8HeyR4oNQpW3646nSf2y7awq04n/OepGqGmJt13tXMSj Rt81dxqugg1q5vXOqL1uI2aDsg== X-Google-Smtp-Source: ABdhPJxIBS4FnwLBsFkMBpCzzhSSPllWc2+croE+fOQcYaf4+aQd4CEhkSzC5erznlLL2r5zMIsdJA== X-Received: by 2002:a02:cc58:: with SMTP id i24mr15744354jaq.38.1593745969393; Thu, 02 Jul 2020 20:12:49 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jul 2020 20:12:49 -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 07/26] video: Drop unnecessary #ifdef around vid_console_color() Date: Thu, 2 Jul 2020 21:12:18 -0600 Message-Id: <20200702211204.RESEND.v3.7.I077675d6a9b88621e29511331f0773f8bdaf5fc7@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/include/video_console.h b/include/video_console.h index 0936ceaaf1..d3bc063165 100644 --- a/include/video_console.h +++ b/include/video_console.h @@ -8,6 +8,8 @@ #include <video.h> +struct video_priv; + #define VID_FRAC_DIV 256 #define VID_TO_PIXEL(x) ((x) / VID_FRAC_DIV) @@ -241,8 +243,6 @@ int vidconsole_put_string(struct udevice *dev, const char *str); void vidconsole_position_cursor(struct udevice *dev, unsigned col, unsigned row); -#ifdef CONFIG_DM_VIDEO - /** * vid_console_color() - convert a color code to a pixel's internal * representation @@ -257,5 +257,3 @@ void vidconsole_position_cursor(struct udevice *dev, unsigned col, u32 vid_console_color(struct video_priv *priv, unsigned int idx); #endif - -#endif