mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-07-19 18:39:09 +02:00

This is almost the same as the first attempt except for an addition to 0102-FFmpeg-change-call-sequence-to-pass-unit-test.patch. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
From 1c7fd64b69feb0ea14047ce1ed68138ccf33687e Mon Sep 17 00:00:00 2001
|
|
From: Wujian sun <wujian.sun_1@nxp.com>
|
|
Date: Mon, 5 Jul 2021 10:28:44 +0800
|
|
Subject: [PATCH] Fixed chromium flicker with g2d-renderer
|
|
|
|
chromium V89 reland linux_explicit_synchronization_protocol for
|
|
in-fence feature caused the flicker.
|
|
The rootcasue is that weston can not acquire fence fd.
|
|
A workaround no checking supports_acquire_fence supported.
|
|
|
|
Upstream-Status: Inappropriate [i.MX specific]
|
|
Signed-off-by: Wujian sun <wujian.sun_1@nxp.com>
|
|
---
|
|
ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc b/ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc
|
|
index e7d3e7268a08..83c57fd65d72 100644
|
|
--- a/ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc
|
|
+++ b/ui/ozone/platform/wayland/gpu/gbm_surfaceless_wayland.cc
|
|
@@ -112,8 +112,7 @@ void GbmSurfacelessWayland::SwapBuffersAsync(
|
|
|
|
// If Wayland server supports linux_explicit_synchronization_protocol, fences
|
|
// should be shipped with buffers. Otherwise, we will wait for fences.
|
|
- if (buffer_manager_->supports_acquire_fence() || !use_egl_fence_sync_ ||
|
|
- !frame->schedule_planes_succeeded) {
|
|
+ if (!use_egl_fence_sync_ || !frame->schedule_planes_succeeded) {
|
|
frame->ready = true;
|
|
MaybeSubmitFrames();
|
|
return;
|
|
--
|
|
2.17.1
|
|
|