Skip to contentSkip to conversation

drm: fix return value

PATCH In review Chunming Zhou 7 participants 12 messages Jan 16, 2018 – Jan 31, 2018 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: fix return value

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
 xf86drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +1 -1
index 8a327170..3881bd9f 100644
@@ -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;
Signature · 6 lines
2.14.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 22 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
 xf86drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +1 -1
index 8a327170..3881bd9f 100644
@@ -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;
Signature · 6 lines
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
#3 lore raw
In reply to Chunming Zhou

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 22 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
 xf86drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +1 -1
index 8a327170..3881bd9f 100644
@@ -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;
Signature · 6 lines
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 18 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 14 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
  xf86drm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles,
 
Quoted 9 lines

xf86drm.c int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles, · line 4247

Quoted 8 lines
xf86drm.c +1 -1
  	ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
  	if (ret < 0)
-		return ret;
+		return -errno;
 
  	if (first_signaled)
  		*first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

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 <[email protected]> 于 2018年1月16日 下午4:56写道:

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 18 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 14 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
  xf86drm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles,
 
Quoted 9 lines

xf86drm.c int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles, · line 4247

Quoted 8 lines
xf86drm.c +1 -1
      ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
      if (ret < 0)
-            return ret;
+            return -errno;
 
      if (first_signaled)
              *first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
Quoted 2 lines · David(ChunMing)

Can your guys help me push it and last vamgr patches to upstream? My new count request for libdrm still is under pending.

Or hand out commmit rights? That's easier long-term imo ... -Daniel

Quoted 49 lines

Thanks,
David Zhou

发自坚果 Pro

Christian K鰊ig <[email protected]> 于 2018年1月16日 下午4:56写道:

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 18 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 14 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
  xf86drm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles,
 
Quoted 9 lines

xf86drm.c int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles, · line 4247

Quoted 8 lines
xf86drm.c +1 -1
      ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
      if (ret < 0)
-            return ret;
+            return -errno;
 
      if (first_signaled)
              *first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw
Quoted 4 lines · Daniel Vetter
Quoted 2 lines · David(ChunMing)

Can your guys help me push it and last vamgr patches to upstream? My new count request for libdrm still is under pending.

Or hand out commmit rights? That's easier long-term imo ...

That's not true, we need to track the commit for driver release, if we have no permission to push it, we often need to check the patch status to see if it's already in there. Are you admin for count request? if you are, and approve my count request, I greatly appreciate your approval.

Regards,
David Zhou

Quoted 48 lines

-Daniel

Quoted 45 lines

Thanks,
David Zhou

发自坚果 Pro

Christian K鰊ig <[email protected]> 于 2018年1月16日 下午4:56写道:

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 18 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 14 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
   xf86drm.c | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles,
 
Quoted 8 lines

xf86drm.c int drmSyncobjWait(int fd, uint32_t *handles, unsigned num_handles, · line 4247

Quoted 8 lines
xf86drm.c +1 -1
       ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
       if (ret < 0)
-            return ret;
+            return -errno;
 
       if (first_signaled)
               *first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

Am 17.01.2018 um 09:53 schrieb Chunming Zhou:

Quoted 9 lines · Daniel Vetter
Quoted 4 lines · David(ChunMing)
Quoted 2 lines

Can your guys help me push it and last vamgr patches to upstream? My new count request for libdrm still is under pending.

Or hand out commmit rights? That's easier long-term imo ...

That's not true, we need to track the commit for driver release, if we have no permission to push it, we often need to check the patch status to see if it's already in there. Are you admin for count request? if you are, and approve my count request, I greatly appreciate your approval.

David, sounds like a misunderstanding. What Daniel suggested was that you should get commit rights, so that you can commit it yourself :)

But that's actually what we are already trying to do. It's just that the account request seems to take a while.

If Alex hasn't already forwarded the request to the Admins please post the link once more and I or Daniel can take care of it.

Regards,
Christian.

Quoted 53 lines

Regards,
David Zhou

Quoted 49 lines

-Daniel

Quoted 46 lines

Thanks,
David Zhou

发自坚果 Pro

Christian K鰊ig <[email protected]> 于 2018年1月16日 下午4:56写道:

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 19 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 15 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423

---
   xf86drm.c | 2 +-

   1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd, uint32_t 
 *handles, unsigned num_handles,
 
Quoted 8 lines
Quoted 8 lines
xf86drm.c +1 -1
        ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
        if (ret < 0)
-            return ret;
+            return -errno;
 
        if (first_signaled)

               *first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
Quoted 8 lines · Christian König

Am 17.01.2018 um 09:53 schrieb Chunming Zhou:

Quoted 7 lines · Daniel Vetter
Quoted 4 lines · David(ChunMing)
Quoted 2 lines

Can your guys help me push it and last vamgr patches to upstream? My new count request for libdrm still is under pending.

Or hand out commmit rights? That's easier long-term imo ...

Quoted 8 lines
Quoted 2 lines

That's not true, we need to track the commit for driver release, if we have no permission to push it, we often need to check the patch status to see if it's already in there. Are you admin for count request? if you are, and approve my count request, I greatly appreciate your approval.

David, sounds like a misunderstanding. What Daniel suggested was that you should get commit rights, so that you can commit it yourself :)

But that's actually what we are already trying to do. It's just that the account request seems to take a while.

If Alex hasn't already forwarded the request to the Admins please post the link once more and I or Daniel can take care of it.

https://bugs.freedesktop.org/show_bug.cgi?id=104631
Michel and Alex have committed.

Thanks,
David Zhou

Quoted 62 lines

Regards,
Christian.

Quoted 57 lines

Regards,
David Zhou

Quoted 49 lines

-Daniel

Quoted 46 lines

Thanks,
David Zhou

发自坚果 Pro

Christian K鰊ig <[email protected]> 于 2018年1月16日 下午4:56写道:

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 19 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 15 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423

---
   xf86drm.c | 2 +-

   1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd, uint32_t 
 *handles, unsigned num_handles,
 
Quoted 8 lines
Quoted 8 lines
xf86drm.c +1 -1
        ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
        if (ret < 0)
-            return ret;
+            return -errno;
 
        if (first_signaled)

               *first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
Quoted 20 lines · Chunming Zhou
Quoted 17 lines · Christian König

Am 17.01.2018 um 09:53 schrieb Chunming Zhou:

Quoted 12 lines · Daniel Vetter
Quoted 4 lines · David(ChunMing)
Quoted 2 lines

Can your guys help me push it and last vamgr patches to upstream? My new count request for libdrm still is under pending.

Or hand out commmit rights? That's easier long-term imo ...

That's not true, we need to track the commit for driver release, if we have no permission to push it, we often need to check the patch status to see if it's already in there.
Are you admin for count request? if you are, and approve my count request, I greatly appreciate your approval.

David, sounds like a misunderstanding. What Daniel suggested was that you should get commit rights, so that you can commit it yourself :)

Quoted 7 lines
Quoted 5 lines

But that's actually what we are already trying to do. It's just that the account request seems to take a while.

If Alex hasn't already forwarded the request to the Admins please post the link once more and I or Daniel can take care of it.

https://bugs.freedesktop.org/show_bug.cgi?id=104631
Michel and Alex have committed.

fd.o admins are drowning a bit under meltdown/spectre (and there's apparently a pile more serious exploits that need to be patched asap).

I'd ping them next week on #freedesktop if it hasn't happened by then. -Daniel

Quoted 68 lines

Thanks,
David Zhou

Quoted 64 lines

Regards,
Christian.

Quoted 59 lines

Regards,
David Zhou

Quoted 51 lines

-Daniel

Quoted 48 lines

Thanks,
David Zhou

发自坚果 Pro

Christian K鰊ig <[email protected]> 于 2018年1月16日 下午4:56写道:

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 20 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 15 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423

---
   xf86drm.c | 2 +-

   1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd,
 uint32_t *handles, unsigned num_handles,
 
Quoted 8 lines
Quoted 8 lines
xf86drm.c +1 -1
        ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
        if (ret < 0)
-            return ret;
+            return -errno;
 
        if (first_signaled)

               *first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw
Quoted 21 lines · Daniel Vetter
Quoted 20 lines · Chunming Zhou
Quoted 18 lines · Christian König

Am 17.01.2018 um 09:53 schrieb Chunming Zhou:

Quoted 11 lines · Daniel Vetter
Quoted 4 lines · David(ChunMing)
Quoted 2 lines

Can your guys help me push it and last vamgr patches to upstream? My new count request for libdrm still is under pending.

Or hand out commmit rights? That's easier long-term imo ...

That's not true, we need to track the commit for driver release, if we have no permission to push it, we often need to check the patch status to see if it's already in there.
Are you admin for count request? if you are, and approve my count request, I greatly appreciate your approval.

David, sounds like a misunderstanding. What Daniel suggested was that you should get commit rights, so that you can commit it yourself :)

But that's actually what we are already trying to do. It's just that the account request seems to take a while.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

If Alex hasn't already forwarded the request to the Admins please post the link once more and I or Daniel can take care of it.

https://bugs.freedesktop.org/show_bug.cgi?id=104631
Michel and Alex have committed.

fd.o admins are drowning a bit under meltdown/spectre (and there's apparently a pile more serious exploits that need to be patched asap).

I'd ping them next week on #freedesktop if it hasn't happened by then.

Hi Daniel,

My account requesting still is under pending, Could you help it? https://bugs.freedesktop.org/show_bug.cgi?id=104631

Thanks in advance,
David Zhou

Quoted 63 lines

-Daniel

Quoted 61 lines

Thanks,
David Zhou

Quoted 59 lines

Regards,
Christian.

Quoted 56 lines

Regards,
David Zhou

Quoted 50 lines

-Daniel

Quoted 48 lines

Thanks,
David Zhou

发自坚果 Pro

Christian K鰊ig <[email protected]> 于 2018年1月16日 下午4:56写道:

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 20 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 15 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
    xf86drm.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd,
 uint32_t *handles, unsigned num_handles,
 
Quoted 8 lines
Quoted 8 lines
xf86drm.c +1 -1
        ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
        if (ret < 0)
-            return ret;
+            return -errno;
 
        if (first_signaled)

               *first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
Quoted 28 lines · Chunming Zhou
Quoted 25 lines · Daniel Vetter
Quoted 24 lines · Chunming Zhou
Quoted 12 lines · Christian König

Am 17.01.2018 um 09:53 schrieb Chunming Zhou:

Quoted 11 lines · Daniel Vetter
Quoted 4 lines · David(ChunMing)
Quoted 2 lines

Can your guys help me push it and last vamgr patches to upstream? My new count request for libdrm still is under pending.

Or hand out commmit rights? That's easier long-term imo ...

That's not true, we need to track the commit for driver release, if we have no permission to push it, we often need to check the patch status to see if it's already in there.
Are you admin for count request? if you are, and approve my count request, I greatly appreciate your approval.

Quoted 8 lines

David, sounds like a misunderstanding. What Daniel suggested was that you should get commit rights, so that you can commit it yourself :)

But that's actually what we are already trying to do. It's just that the account request seems to take a while.

If Alex hasn't already forwarded the request to the Admins please post the link once more and I or Daniel can take care of it.

https://bugs.freedesktop.org/show_bug.cgi?id=104631
Michel and Alex have committed.

Quoted 8 lines
Quoted 4 lines

fd.o admins are drowning a bit under meltdown/spectre (and there's apparently a pile more serious exploits that need to be patched asap).

I'd ping them next week on #freedesktop if it hasn't happened by then.

Hi Daniel,

My account requesting still is under pending, Could you help it?
https://bugs.freedesktop.org/show_bug.cgi?id=104631

Looks all ready for fd.o admins to take action. Perhaps ping them on #freedesktop irc channel? I'm not an admin myself. -Daniel

Quoted 68 lines

Thanks in advance,
David Zhou

Quoted 63 lines

-Daniel

Quoted 61 lines

Thanks,
David Zhou

Quoted 59 lines

Regards,
Christian.

Quoted 56 lines

Regards,
David Zhou

Quoted 50 lines

-Daniel

Quoted 48 lines

Thanks,
David Zhou

发自坚果 Pro

Christian K鰊ig <[email protected]> 于 2018年1月16日 下午4:56写道:

Apart from that a good catch and Reviewed-by: Christian König <[email protected]>.

Regards,
Christian.

Am 16.01.2018 um 09:49 schrieb Michel Dänzer:

Quoted 20 lines

Moving from the amd-gfx list to dri-devel, since this isn't amdgpu specific.

Quoted 15 lines · Chunming Zhou

otherwise -ETIME is missed.

Change-Id Ic5580a74d8027cc468c6135f8cf2f81817993423
---
    xf86drm.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)
xf86drm.c +0 -0
index 8a327170..3881bd9f 100644
@@ -4241,7 +4241,7 @@ int drmSyncobjWait(int fd,
 uint32_t *handles, unsigned num_handles,
 
Quoted 8 lines
Quoted 8 lines
xf86drm.c +1 -1
        ret = drmIoctl(fd, DRM_IOCTL_SYNCOBJ_WAIT, &args);
        if (ret < 0)
-            return ret;
+            return -errno;
 
        if (first_signaled)

               *first_signaled = args.first_signaled;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel