“5983a3dff0036d7ef6a2139473564f4f3e7b2a11”上不存在“include/git@gitcode.net:openharmony/kernel_linux.git”
drm/radeon: check return value of radeon_fence_emit
Function radeon_fence_emit() returns -ENOMEM if there is no enough memory. And in this case, function radeon_ring_unlock_undo() rather than function radeon_ring_unlock_commit() should be called. However, in function radeon_test_create_and_emit_fence(), the return value of radeon_fence_emit() is ignored. This patch adds the check. Reviewed-by: NChristian König <christian.koenig@amd.com> Signed-off-by: NPan Bian <bianpan2016@163.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录