summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston/0017-MGS-2343-ccc-XWLD-T3DStressTest_Wayland-displays-abn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/wayland/weston/0017-MGS-2343-ccc-XWLD-T3DStressTest_Wayland-displays-abn.patch')
-rw-r--r--recipes-graphics/wayland/weston/0017-MGS-2343-ccc-XWLD-T3DStressTest_Wayland-displays-abn.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/recipes-graphics/wayland/weston/0017-MGS-2343-ccc-XWLD-T3DStressTest_Wayland-displays-abn.patch b/recipes-graphics/wayland/weston/0017-MGS-2343-ccc-XWLD-T3DStressTest_Wayland-displays-abn.patch
deleted file mode 100644
index d0b82aa4..00000000
--- a/recipes-graphics/wayland/weston/0017-MGS-2343-ccc-XWLD-T3DStressTest_Wayland-displays-abn.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 0cc335a411127feb05e16cbf2803058b2db1b405 Mon Sep 17 00:00:00 2001
2From: Meng Mingming <mingming.meng@nxp.com>
3Date: Thu, 27 Oct 2016 17:00:24 +0800
4Subject: [PATCH 1/2] MGS-2343 [#ccc] XWLD: T3DStressTest_Wayland displays
5 abnormally while using G2D compositor
6
7It need add g2d_finish after repaint_region and before copy to framebuffer.
8Because if using dual dpu cores, the tasks on each core will be executed
9sequently, but it can't ensure one task splited on dual cores can be finished
10synchronously by hardware.
11
12Upstream-Status: Inappropriate [i.MX specific]
13
14Date: Oct 27, 2016
15Signed-off-by: Meng Mingming <mingming.meng@nxp.com>
16---
17 src/g2d-renderer.c | 1 +
18 1 file changed, 1 insertion(+)
19
20Index: weston-1.11.0/src/g2d-renderer.c
21===================================================================
22--- weston-1.11.0.orig/src/g2d-renderer.c 2017-01-12 14:58:11.923607788 -0600
23+++ weston-1.11.0/src/g2d-renderer.c 2017-01-12 18:08:33.328243476 -0600
24@@ -679,6 +679,8 @@
25 pixman_region32_t *output_damage)
26 {
27 struct g2d_output_state *go = get_output_state(output);
28+ struct weston_compositor *compositor = output->compositor;
29+ struct g2d_renderer *gr = get_renderer(compositor);
30 int i;
31
32 use_output(output);
33@@ -691,6 +693,7 @@
34 &go->buffer_damage[go->current_buffer]);
35
36 repaint_views(output, output_damage);
37+ g2d_finish(gr->handle);
38
39 pixman_region32_copy(&output->previous_damage, output_damage);
40 wl_signal_emit(&output->frame_signal, output);