Commit 0d4d1fc2 authored by fcui's avatar fcui

dri2: reply to client for WaitMSC request in any case

otherwise client would wait for reply forever and desktop appears hang.
Signed-off-by: fcui's avatarFlora Cui <flora.cui@amd.com>
Acked-by: 's avatarFeifei Xu <Feifei.Xu@amd.com>
parent 4b17533f
Pipeline #40948 passed with stages
in 1 minute and 21 seconds
......@@ -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);
else
DRI2WaitMSCComplete(client, draw, target_msc, 0, 0);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment