public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] intel: Fix missing ETIME on BSD operating systems
@ 2012-11-10  5:24 Richard Yao
  2012-11-10 20:01 ` Ben Widawsky
  2012-11-10 20:12 ` Eric Anholt
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Yao @ 2012-11-10  5:24 UTC (permalink / raw)
  To: intel-gfx; +Cc: gentoo-bsd, David Shao

From: David Shao <davshao@gmail.com>

Originally posted to Free Desktop bug #52549 by David Shao.
Resolves Gentoo Bug #433403.
Commit message by Richard Yao.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
---
 intel/intel_bufmgr_gem.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 8d45839..512bc6f 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -54,6 +54,9 @@
 #include <stdbool.h>
 
 #include "errno.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
 #include "libdrm_lists.h"
 #include "intel_bufmgr.h"
 #include "intel_bufmgr_priv.h"
-- 
1.7.8.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] intel: Fix missing ETIME on BSD operating systems
@ 2012-11-10  5:23 Richard Yao
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Yao @ 2012-11-10  5:23 UTC (permalink / raw)
  To: intel-gfx; +Cc: gentoo-bsd, David Shao

From: David Shao <davshao@gmail.com>

Originally posted to Free Desktop bug #52549 by David Shao.
Resolves Gentoo Bug #433403.
Commit message by Richard Yao.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
---
 intel/intel_bufmgr_gem.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 8d45839..512bc6f 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -54,6 +54,9 @@
 #include <stdbool.h>
 
 #include "errno.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
 #include "libdrm_lists.h"
 #include "intel_bufmgr.h"
 #include "intel_bufmgr_priv.h"
-- 
1.7.8.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] intel: Fix missing ETIME on BSD operating systems
@ 2012-11-10  5:06 Richard Yao
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Yao @ 2012-11-10  5:06 UTC (permalink / raw)
  To: intel-gfx; +Cc: gentoo-bsd, David Shao

From: David Shao <davshao@gmail.com>

Originally posted to Free Desktop bug #52549 by David Shao.
Resolves Gentoo Bug #433403.
Commit message by Richard Yao.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
---
 intel/intel_bufmgr_gem.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 8d45839..512bc6f 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -54,6 +54,9 @@
 #include <stdbool.h>
 
 #include "errno.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
 #include "libdrm_lists.h"
 #include "intel_bufmgr.h"
 #include "intel_bufmgr_priv.h"
-- 
1.7.8.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] intel: Fix missing ETIME on BSD operating systems
@ 2012-11-09 22:06 Richard Yao
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Yao @ 2012-11-09 22:06 UTC (permalink / raw)
  To: intel-gfx; +Cc: gentoo-bsd, David Shao

From: David Shao <davshao@gmail.com>

Originally posted to Free Desktop bug #52549 by David Shao.
Resolves Gentoo Bug #433403.
Commit message by Richard Yao.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
---
 intel/intel_bufmgr_gem.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 8d45839..512bc6f 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -54,6 +54,9 @@
 #include <stdbool.h>
 
 #include "errno.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
 #include "libdrm_lists.h"
 #include "intel_bufmgr.h"
 #include "intel_bufmgr_priv.h"
-- 
1.7.8.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-11 17:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10  5:24 [PATCH] intel: Fix missing ETIME on BSD operating systems Richard Yao
2012-11-10 20:01 ` Ben Widawsky
2012-11-10 20:12 ` Eric Anholt
2012-11-10 21:36   ` Richard Yao
2012-11-11 17:26     ` Ben Widawsky
  -- strict thread matches above, loose matches on Subject: below --
2012-11-10  5:23 Richard Yao
2012-11-10  5:06 Richard Yao
2012-11-09 22:06 Richard Yao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox