{"id":813662,"url":"http://patchwork.ozlabs.org/api/patches/813662/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170913221227.21091-2-robdclark@gmail.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170913221227.21091-2-robdclark@gmail.com>","list_archive_url":null,"date":"2017-09-13T22:12:20","name":"[U-Boot,1/3] dm: video: Fix cache flushes","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"de67297aecc1b89d7093a15883d72f2218100821","submitter":{"id":18760,"url":"http://patchwork.ozlabs.org/api/people/18760/?format=json","name":"Rob Clark","email":"robdclark@gmail.com"},"delegate":{"id":1700,"url":"http://patchwork.ozlabs.org/api/users/1700/?format=json","username":"ag","first_name":"Anatolij","last_name":"Gustschin","email":"agust@denx.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170913221227.21091-2-robdclark@gmail.com/mbox/","series":[{"id":2992,"url":"http://patchwork.ozlabs.org/api/series/2992/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2992","date":"2017-09-13T22:12:21","name":"dm: video: enhancements for Shell.efi","version":1,"mbox":"http://patchwork.ozlabs.org/series/2992/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/813662/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/813662/checks/","tags":{},"related":[],"headers":{"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;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"bmpnDn32\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsx541Zk7z9sxR\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 08:23:20 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid E90D3C222FE; Wed, 13 Sep 2017 22:20:18 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 073F7C2275A;\n\tWed, 13 Sep 2017 22:20:16 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 99B7EC22766; Wed, 13 Sep 2017 22:12:42 +0000 (UTC)","from mail-qt0-f194.google.com (mail-qt0-f194.google.com\n\t[209.85.216.194])\n\tby lists.denx.de (Postfix) with ESMTPS id 0EACBC2222A\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 22:12:36 +0000 (UTC)","by mail-qt0-f194.google.com with SMTP id t46so949306qtj.3\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 15:12:36 -0700 (PDT)","from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\td22sm10273636qkj.88.2017.09.13.15.12.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 13 Sep 2017 15:12:33 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=r/bhCAJ8JDz2goG1KgDPPLDzuaAvPHuu7Eu9hHjwt5s=;\n\tb=bmpnDn32qPMmBMqguUC/llG/EBg60qlutl69RrZFQnskFw6yEywmgXxDmJU9E6psyF\n\t8u45QPAciC1g5WKDb/6GIbFa6pULDY7i80tLGjEH9NQhpvGFAYmQr7mfVJAI/s0LXAax\n\t7YKOEO3/GdwTiVlomMknI2QzAmZgwQt0j1xDy5U+VM73LBAXhmqcr56WlwiT9Gh/AVr9\n\tWRjBoTFBLxcPgSO3/0G2YUlalcOt4eAbCiVnMlUUpiuoHHplbMB06Jye3E2qRreC3bNa\n\tkGwAfQ8Sv0/GjlpN7Gjkjx8Jr7iKhTm6PGggro7XEA+mllY4xtAGCIb2dYXIj8cURIt5\n\t1t0w==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=r/bhCAJ8JDz2goG1KgDPPLDzuaAvPHuu7Eu9hHjwt5s=;\n\tb=ZAeHpOr8tV+huDeqOi36hEU/uwnQ8v3lMQOXAMTFllINJyqmHFlqKkCEqj8UwRwZA0\n\t0enZ4oD62LNFHJQ5RNUDb8lKPtFMbCqJlQC8fcoo0LcG4QrHomq+E7eUbRnz0uhq5mUz\n\ty84Qtg7BV5Y0OW/8rXFFoi6PWmWAnmjsJeSJuvQnsv57RXTNyba9gW1zYqoPEwreDW1m\n\tHX5lD1PvR/aAPAwYVXvMRMP9LzmImGGF4YGoScNkmw8bCnEoZMagBlVoIQNfDuVL8096\n\twkvjzPMfoknQcR99Tbta35FfR8yOeNMK1H2XkRIi1Bl39R4OtzZsNEqv49t37ocMcIzk\n\tsjqg==","X-Gm-Message-State":"AHPjjUg32Rqby5QUy+eXydnb+b5RS4V7fN9rz5BP5nc/i1TWvG03iY3s\n\tJfo2KGJrM3uzMCb2a5I=","X-Google-Smtp-Source":"AOwi7QBTH0JGLtJ6oGbSX70nhFWnEwiyCnqCRYAqSjBcOGzPRWgGFI8Ct/8afsqojALrXXdGaT9Png==","X-Received":"by 10.237.62.59 with SMTP id l56mr22111194qtf.261.1505340754779; \n\tWed, 13 Sep 2017 15:12:34 -0700 (PDT)","From":"Rob Clark <robdclark@gmail.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Wed, 13 Sep 2017 18:12:20 -0400","Message-Id":"<20170913221227.21091-2-robdclark@gmail.com>","X-Mailer":"git-send-email 2.13.5","In-Reply-To":"<20170913221227.21091-1-robdclark@gmail.com>","References":"<20170913221227.21091-1-robdclark@gmail.com>","Subject":"[U-Boot] [PATCH 1/3] dm: video: Fix cache flushes","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://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>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Content can come to screen via putc() and we cannot always rely on\nupdates ending with a puts().  This is the case with efi_console output\nto vidconsole.  Fixes corruption with Shell.efi.\n\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n drivers/video/vidconsole-uclass.c | 3 +++\n 1 file changed, 3 insertions(+)","diff":"diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c\nindex b5afd72227..e081d5a0ee 100644\n--- a/drivers/video/vidconsole-uclass.c\n+++ b/drivers/video/vidconsole-uclass.c\n@@ -163,6 +163,7 @@ static void vidconsole_putc(struct stdio_dev *sdev, const char ch)\n \tstruct udevice *dev = sdev->priv;\n \n \tvidconsole_put_char(dev, ch);\n+\tvideo_sync(dev->parent);\n }\n \n static void vidconsole_puts(struct stdio_dev *sdev, const char *s)\n@@ -260,6 +261,8 @@ static int do_video_puts(cmd_tbl_t *cmdtp, int flag, int argc,\n \tfor (s = argv[1]; *s; s++)\n \t\tvidconsole_put_char(dev, *s);\n \n+\tvideo_sync(dev->parent);\n+\n \treturn 0;\n }\n \n","prefixes":["U-Boot","1/3"]}