summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonbum Ko <joonbum.ko@samsung.com>2020-06-30 21:27:27 +0900
committerXuelian Bai <xuelian.bai@samsung.com>2024-01-18 09:31:55 +0800
commit8e3499aa18c341200301e97e6ed84b466ea9a4e5 (patch)
treeadef43baf860e6e33b95b72f51de2d74266aadae
parent6f7bcf7c1bd2e1e672a0d281f0bd7574e25af8aa (diff)
downloadmesa-8e3499aa18c341200301e97e6ed84b466ea9a4e5.tar.gz
mesa-8e3499aa18c341200301e97e6ed84b466ea9a4e5.tar.bz2
mesa-8e3499aa18c341200301e97e6ed84b466ea9a4e5.zip
Fixed missing server_wait_sync to be called.
- 'server_wait_sync' should be called from 'tizen_internal_wait_sync_for_release_fence' with release_fence fd received from dequeue, but the part was missing and fixed. Change-Id: Ic505b2937ef472528a7dae2db486f66cf0cb3626 Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
-rwxr-xr-xsrc/egl/drivers/dri2/platform_tizen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_tizen.c b/src/egl/drivers/dri2/platform_tizen.c
index a3a2b67f7ad..d15050e03ce 100755
--- a/src/egl/drivers/dri2/platform_tizen.c
+++ b/src/egl/drivers/dri2/platform_tizen.c
@@ -210,6 +210,9 @@ tizen_internal_wait_sync_for_release_fence(struct dri2_egl_surface *dri2_surf,
return EGL_FALSE;
}
+ dri2_dpy->fence->server_wait_sync(dri2_ctx->dri_context,
+ dri2_sync->fence, 0);
+
close(dri2_sync->base.SyncFd);
if (dri2_sync->fence)
dri2_dpy->fence->destroy_fence(dri2_dpy->dri_screen_render_gpu, dri2_sync->fence);