mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 01:28:07 +02:00
pvr: handle PVR_SRV_ERROR_RETRY pvr_srv_rgx_kick_render2()
ret.error wasn't being checked, so the driver incorrectly returned OOM state. Fixes GLES test: dEQP-GLES2.functional.fragment_ops.stencil.zero_stencil_fail Signed-off-by: Iliyan Dinev <iliyan.dinev@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
2210e7ab4f
commit
eb77cad906
1 changed files with 1 additions and 1 deletions
|
|
@ -1582,7 +1582,7 @@ VkResult pvr_srv_rgx_kick_render2(int fd,
|
|||
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)
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue