[Mesa-dev] [PATCH 1/3] egl: Allow creation of per surface out fence

2017-09-14 Thread yogesh . marathe
://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Signed-off-by: Yogesh Marathe Reviewed-by: Emil Velikov Reviewed-by: Tomasz Figa --- src/egl/drivers/dri2/egl_dri2.c | 71 + src/egl/drivers/dri2/egl_dri2.h | 9 src/egl/drivers/dri2

[Mesa-dev] [PATCH 2/3] egl: Wrap dri3 surface primitive around dri2 egl surface

2017-09-14 Thread yogesh . marathe
From: Yogesh Marathe Originally dri3 egl surface was wrapped around _EGLSurface. To support explicit sync, new variables (e.g. enable_out_fence) were added to dri2_egl_surface. As we reference these new variables we write on to dri3 loader bits. These get toggled later in execution due to dri3

[Mesa-dev] [PATCH 3/3] egl: dri3 changes to support surface primitive wrap around dri2

2017-09-14 Thread yogesh . marathe
From: Yogesh Marathe As base is moved one level down corresponding implementation in dri3 needs a change. Tested with Intel Mesa CI Signed-off-by: Yogesh Marathe --- src/egl/drivers/dri2/platform_x11_dri3.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[Mesa-dev] [PATCH v6.2] egl: Allow creation of per surface out fence

2017-08-23 Thread yogesh . marathe
://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Signed-off-by: Yogesh Marathe Reviewed-by: Emil Velikov Reviewed-by: Tomasz Figa --- src/egl/drivers/dri2/egl_dri2.c | 71 + src/egl/drivers/dri2/egl_dri2.h | 9 src/egl/drivers/dri2

[Mesa-dev] [PATCH v6.2] egl: Allow creation of per surface out fence

2017-08-23 Thread yogesh . marathe
://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Signed-off-by: Yogesh Marathe Reviewed-by: Emil Velikov Reviewed-by: Tomasz Figa --- src/egl/drivers/dri2/egl_dri2.c | 71 + src/egl/drivers/dri2/egl_dri2.h | 9 src/egl

[Mesa-dev] [PATCH v6.1] egl: Allow creation of per surface out fence

2017-08-18 Thread yogesh . marathe
supported c) Review comments on function names d) Test with standalone patch, resolves the bug v6.1 a) Check for old display fence reverted back Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Signed-off-by: Yogesh Marathe --- src/egl/drivers/dri2

[Mesa-dev] [PATCH v6] egl: Allow creation of per surface out fence

2017-08-08 Thread yogesh . marathe
supported c) Review comments on function names d) Test with standalone patch, resolves the bug Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101655 Signed-off-by: Zhongmin Wu Signed-off-by: Yogesh Marathe --- src/egl/drivers/dri2/egl_dri2.c | 65

[Mesa-dev] [PATCH v5 2/2] i965: Queue the buffer with a sync fence for Android OS

2017-08-02 Thread yogesh . marathe
to update fd and check for fence c) Commit description updated Signed-off-by: Zhongmin Wu Signed-off-by: Yogesh Marathe --- src/egl/drivers/dri2/egl_dri2.c | 57 + src/egl/drivers/dri2/egl_dri2.h | 9 + src/egl/drivers/dri2

[Mesa-dev] [PATCH v5 1/2] i965: Return the last fence if the batch buffer is empty

2017-08-02 Thread yogesh . marathe
From: Zhongmin Wu Always save the last fence in the brw context when flushing buffer. If there is nothing to be flushed, return the last fence if asked for. Nothing to be flushed when _intel_batchbuffer_flush_fence. Signed-off-by: Zhongmin Wu Signed-off-by: Yogesh Marathe --- src/mesa

[Mesa-dev] [PATCH V3] i965 : Optimize atom state flag checks

2017-07-20 Thread Yogesh Marathe
indan Muthukumar Signed-off-by: Yogesh Marathe Tested-by: Asish --- src/mesa/drivers/dri/i965/brw_defines.h | 4 src/mesa/drivers/dri/i965/brw_state_upload.c | 16 ++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_defines