* [PATCH i-g-t] benchmarks/gem_latency: Fix compiler warning
@ 2017-02-24 13:03 Mika Kahola
2017-02-24 13:12 ` Chris Wilson
0 siblings, 1 reply; 2+ messages in thread
From: Mika Kahola @ 2017-02-24 13:03 UTC (permalink / raw)
To: intel-gfx
Fix compiler warning about I915_EXEC_FENCE_OUT definition/redefinition
as it is defined in libdrm/i915_drm.h:890:0
gem_latency.c:48:0: warning: "I915_EXEC_FENCE_OUT" redefined
#define I915_EXEC_FENCE_OUT (1 << 17)
^
In file included from ../lib/intel_batchbuffer.h:6:0,
from ../lib/drmtest.h:39,
from ../lib/igt.h:27,
from gem_latency.c:31:
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
---
benchmarks/gem_latency.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/benchmarks/gem_latency.c b/benchmarks/gem_latency.c
index 154c5f1..7be78f2 100644
--- a/benchmarks/gem_latency.c
+++ b/benchmarks/gem_latency.c
@@ -45,7 +45,6 @@
#include <sys/resource.h>
#include "drm.h"
-#define I915_EXEC_FENCE_OUT (1 << 17)
#define LOCAL_IOCTL_I915_GEM_EXECBUFFER2_WR DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2)
#define CONTEXT 0x1
--
2.7.4
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH i-g-t] benchmarks/gem_latency: Fix compiler warning
2017-02-24 13:03 [PATCH i-g-t] benchmarks/gem_latency: Fix compiler warning Mika Kahola
@ 2017-02-24 13:12 ` Chris Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Chris Wilson @ 2017-02-24 13:12 UTC (permalink / raw)
To: Mika Kahola; +Cc: intel-gfx
On Fri, Feb 24, 2017 at 03:03:32PM +0200, Mika Kahola wrote:
> Fix compiler warning about I915_EXEC_FENCE_OUT definition/redefinition
> as it is defined in libdrm/i915_drm.h:890:0
>
> gem_latency.c:48:0: warning: "I915_EXEC_FENCE_OUT" redefined
> #define I915_EXEC_FENCE_OUT (1 << 17)
> ^
> In file included from ../lib/intel_batchbuffer.h:6:0,
> from ../lib/drmtest.h:39,
> from ../lib/igt.h:27,
> from gem_latency.c:31:
>
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Rb.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-24 13:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-24 13:03 [PATCH i-g-t] benchmarks/gem_latency: Fix compiler warning Mika Kahola
2017-02-24 13:12 ` Chris Wilson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.