[PATCH libdrm] drm: fix return value
Zhou, David(ChunMing)
David1.Zhou at amd.com
Tue Jan 16 14:01:40 UTC 2018
Can your guys help me push it and last vamgr patches to upstream?
My new count request for libdrm still is under pending.
Thanks,
David Zhou
发自坚果 Pro
Christian K鰊ig <ckoenig.leichtzumerken at gmail.com> 于 2018年1月16日 下午4:56写道:
Apart from that a good catch and Reviewed-by: Christian König
<christian.koenig at amd.com>.
Regards,
Christian.
Am 16.01.2018 um 09:49 schrieb Michel Dänzer:
> Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.
>
>
> On 2018-01-16 03:54 AM, Chunming Zhou wrote:
>> otherwise -ETIME is missed.
>>
>> Change-Id: Ic5580a74d8027cc468c6135f8cf2f81817993423
>> Signed-off-by: Chunming Zhou <david1.zhou at amd.com>
>> ---
>> xf86drm.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/xf86drm.c b/xf86drm.c
>> index 8a327170..3881bd9f 100644
>> --- a/xf86drm.c
>> +++ b/xf86drm.c
>> @@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles,
>>
>> ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
>> if (ret < 0)
>> - return ret;
>> + return -errno;
>>
>> if (first_signaled)
>> *first_signaled = args.first_signaled;
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180116/4c6c442e/attachment.html>
More information about the dri-devel
mailing list