diff options
author | Flora Cui <flora.cui@amd.com> | 2019-06-14 11:20:12 +0200 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2019-06-14 11:20:12 +0200 |
commit | d5f5bc5846ef06c3ecf9e5acf1ca357574f06f5a (patch) | |
tree | df0f9b5d294a25afc978c4fb106becced4c693ef /src | |
parent | f758908db4e71406e5d437d32e43aabd38a63504 (diff) |
dri2: reply to client for WaitMSC request in any case
otherwise client would wait for reply forever and desktop appears hang.
Signed-off-by: Flora Cui <flora.cui@amd.com>
(Ported from amdgpu commit fb06fb814700a47464abd756e1111dcc76d0d776)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_dri2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index a9f14e8d..3c04e6fe 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -1156,6 +1156,9 @@ static int radeon_dri2_schedule_wait_msc(ClientPtr client, DrawablePtr draw, out_complete: if (wait_info) radeon_dri2_deferred_event(NULL, 0, wait_info); + else + DRI2WaitMSCComplete(client, draw, 0, 0, 0); + return TRUE; } |