Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2231908/?format=api
{ "id": 2231908, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231908/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260501151612.229417-1-heinrich.schuchardt@canonical.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.1/projects/18/?format=api", "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 }, "msgid": "<20260501151612.229417-1-heinrich.schuchardt@canonical.com>", "date": "2026-05-01T15:16:12", "name": "[1/1] video: show 'physical' frame buffer on sandbox", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c55581b53c64c8f1ae6cf85226deb7e6fb61f47c", "submitter": { "id": 82181, "url": "http://patchwork.ozlabs.org/api/1.1/people/82181/?format=api", "name": "Heinrich Schuchardt", "email": "heinrich.schuchardt@canonical.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260501151612.229417-1-heinrich.schuchardt@canonical.com/mbox/", "series": [ { "id": 502473, "url": "http://patchwork.ozlabs.org/api/1.1/series/502473/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=502473", "date": "2026-05-01T15:16:12", "name": "[1/1] video: show 'physical' frame buffer on sandbox", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502473/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2231908/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231908/checks/", "tags": {}, "headers": { "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;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=hGzYgfoo;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=canonical.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.b=\"hGzYgfoo\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=reject dis=none)\n header.from=canonical.com", "phobos.denx.de; spf=pass\n smtp.mailfrom=heinrich.schuchardt@canonical.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g6ZPm5HFJz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 02 May 2026 01:16:28 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 27519803C6;\n\tFri, 1 May 2026 17:16:24 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id C9F6981E18; Fri, 1 May 2026 17:16:22 +0200 (CEST)", "from smtp-relay-canonical-0.canonical.com\n (smtp-relay-canonical-0.canonical.com [185.125.188.120])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 1BC2980086\n for <u-boot@lists.denx.de>; Fri, 1 May 2026 17:16:20 +0200 (CEST)", "from LT03 (1.general.zfsdt.uk.vpn [10.172.194.136])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 407C640076;\n Fri, 1 May 2026 15:16:19 +0000 (UTC)" ], "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,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1777648579;\n bh=XVw6gFQAueT53zRPB+h7ls7RXXfmXmdhJv/Ati8907g=;\n h=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=hGzYgfoooZYWOuN5Cb5GW53sgFchvVx46Si8m3L3ZRe7rfPV5Csr5Df6jWaCPuy89\n 70Rp+hFQcGu7n/c0sfTET+6P9uVwq7of4jmGdrNSlH92FdZVsjScd7aZ2AjWQWT2Wi\n 9VfRk80WbERDvp0m4p3ouCgUc54e3B9vgGQqf9alWcTipHonJ2viI/j1aEyvLaDkwW\n InWxKdQPaW6y8G1W+EzIGjBdeVRUp5D5T3CcZA2Kt32KCumnqZxlTuUFP8VvyzxpO6\n w7+ObVpFZCAPPqq1TkWMeTeHNKEyyb/+dWuoz2Dtu3/lgst6lyfv/l+9oY4riAMFYD\n kK1isr2IxdLA1+upgnbcgjKvUCkLe1PIL7VRIoPlVhb19b3yOTyvgFc13RXtk2iLGJ\n maNAp6X9qvtD4q+oyhOcs2KHe0HUX0ULup8KOT4mlQFSitXdvjZWutQ65QnwbHkpjm\n kCFyt2Kx1YWMwtuGkQxxb0qubsXD29PxcDN6+oqVHeJ7F+MP/PAtU0eXm1HbbbzljR\n 7YKgchZZp99IiXyfB5qh7f6HuC0vFCYLPR8ZhReU/xoZf4RrlyYBrzFOYYIepfBj6j\n VvLlXRpsv94dC14c4acTKqDmpHIz9bDCJBsiBZYj14pobAaQz7cTFrVu4UAi3wKeOg\n NuBvgOodk7eJFcWv2aizFcrA=", "From": "Heinrich Schuchardt <heinrich.schuchardt@canonical.com>", "To": "Anatolij Gustschin <ag.dev.uboot@gmail.com>,\n Simon Glass <sjg@chromium.org>", "Cc": "Tom Rini <trini@konsulko.com>, Quentin Schulz <quentin.schulz@cherry.de>,\n u-boot@lists.denx.de,\n Heinrich Schuchardt <heinrich.schuchardt@canonical.com>", "Subject": "[PATCH 1/1] video: show 'physical' frame buffer on sandbox", "Date": "Fri, 1 May 2026 17:16:12 +0200", "Message-ID": "<20260501151612.229417-1-heinrich.schuchardt@canonical.com>", "X-Mailer": "git-send-email 2.53.0", "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>,\n <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>,\n <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.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "We allow using double buffering for video. This can be accomplished by\ncyclic copies or we may copy 'damaged' areas.\n\nTo inspect the output we must inspect the target frame buffer that models\nthe physical frame buffer on the sandbox.\n\nIf double buffering is active, priv->copy_fb is a pointer to the target\nframe buffer.\n\nFixes: 5c8dddadf1c9 (\"video: Use cyclic to handle video sync\")\nSigned-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>\n---\n drivers/video/video-uclass.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)", "diff": "diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c\nindex 228d6bacc58..c178027fec4 100644\n--- a/drivers/video/video-uclass.c\n+++ b/drivers/video/video-uclass.c\n@@ -516,8 +516,7 @@ int video_sync(struct udevice *vid, bool force)\n \t\tvideo_flush_dcache(vid, true);\n \n #if defined(CONFIG_VIDEO_SANDBOX_SDL)\n-\t/* to see the copy framebuffer, use priv->copy_fb */\n-\tsandbox_sdl_sync(priv->fb);\n+\tsandbox_sdl_sync(priv->copy_fb ? priv->copy_fb : priv->fb);\n #endif\n \tpriv->last_sync = get_timer(0);\n \n", "prefixes": [ "1/1" ] }