otherwise client would wait for reply forever and desktop appears hang.
Signed-off-by: Flora Cui <[email protected]>
---
src/amdgpu_dri2.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c
index 44316ac..34353a7 100644
--- a/src/amdgpu_dri2.c
+++ b/src/amdgpu_dri2.c
@@ -1062,6 +1062,9 @@ static int amdgpu_dri2_schedule_wait_msc(ClientPtr
client, DrawablePtr draw,
out_complete:
if (wait_info)
amdgpu_dri2_deferred_event(NULL, 0, wait_info);
+
+ DRI2WaitMSCComplete(client, draw, target_msc, 0, 0);
+
return TRUE;
}
--
2.7.4
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx