mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
pvr: add handling for retry error in pvr_srv_rgx_kick_compute2()
Speculative fix following similar fixes to pvr_srv_rgx_kick_render2() and pvr_srv_rgx_submit_transfer2(). Signed-off-by: Frank Binns <frank.binns@imgtec.com> Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31679>
This commit is contained in:
parent
a186e28476
commit
e8cbfa2a57
1 changed files with 4 additions and 0 deletions
|
|
@ -1179,6 +1179,10 @@ VkResult pvr_srv_rgx_kick_compute2(int fd,
|
|||
&ret,
|
||||
sizeof(ret));
|
||||
if (result || ret.error != PVR_SRV_OK) {
|
||||
/* There is no 'retry' VkResult, so treat it as VK_NOT_READY instead. */
|
||||
if (result == PVR_SRV_ERROR_RETRY || ret.error == PVR_SRV_ERROR_RETRY)
|
||||
return VK_NOT_READY;
|
||||
|
||||
return vk_bridge_err(VK_ERROR_OUT_OF_DEVICE_MEMORY,
|
||||
"PVR_SRV_BRIDGE_RGXCMP_RGXKICKCDM2",
|
||||
ret);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue