* [PATCH gpu-tools v2] gem_vmap_blits: fix compilation if I915_PARAM_HAS_VMAP is not defined
@ 2011-08-24 17:57 Paulo Zanoni
2011-08-31 16:36 ` Eugeni Dodonov
0 siblings, 1 reply; 2+ messages in thread
From: Paulo Zanoni @ 2011-08-24 17:57 UTC (permalink / raw)
To: intel-gfx; +Cc: Paulo Zanoni
Previously, "make check" failed because the main() function was not
defined.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
---
Version 2, returning "77".
tests/gem_vmap_blits.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tests/gem_vmap_blits.c b/tests/gem_vmap_blits.c
index c2ba390..05550a4 100644
--- a/tests/gem_vmap_blits.c
+++ b/tests/gem_vmap_blits.c
@@ -53,6 +53,11 @@
#if !defined(I915_PARAM_HAS_VMAP)
#warning No vmap support in drm, skipping
+int main(int argc, char **argv)
+{
+ fprintf(stderr, "No vmap support in drm.\n");
+ return 77;
+}
#else
#define WIDTH 512
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH gpu-tools v2] gem_vmap_blits: fix compilation if I915_PARAM_HAS_VMAP is not defined
2011-08-24 17:57 [PATCH gpu-tools v2] gem_vmap_blits: fix compilation if I915_PARAM_HAS_VMAP is not defined Paulo Zanoni
@ 2011-08-31 16:36 ` Eugeni Dodonov
0 siblings, 0 replies; 2+ messages in thread
From: Eugeni Dodonov @ 2011-08-31 16:36 UTC (permalink / raw)
To: Paulo Zanoni; +Cc: intel-gfx, Paulo Zanoni
[-- Attachment #1.1: Type: text/plain, Size: 1072 bytes --]
On Wed, Aug 24, 2011 at 14:57, Paulo Zanoni <przanoni@gmail.com> wrote:
> Previously, "make check" failed because the main() function was not
> defined.
>
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
>
Works for me, so:
Tested-By: Eugeni Dodonov <eugeni.dodonov@intel.com>
> ---
>
> Version 2, returning "77".
>
> tests/gem_vmap_blits.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/tests/gem_vmap_blits.c b/tests/gem_vmap_blits.c
> index c2ba390..05550a4 100644
> --- a/tests/gem_vmap_blits.c
> +++ b/tests/gem_vmap_blits.c
> @@ -53,6 +53,11 @@
>
> #if !defined(I915_PARAM_HAS_VMAP)
> #warning No vmap support in drm, skipping
> +int main(int argc, char **argv)
> +{
> + fprintf(stderr, "No vmap support in drm.\n");
> + return 77;
> +}
> #else
>
> #define WIDTH 512
> --
> 1.7.4.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
--
Eugeni Dodonov
http://eugeni.dodonov.net/
[-- Attachment #1.2: Type: text/html, Size: 1955 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-31 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24 17:57 [PATCH gpu-tools v2] gem_vmap_blits: fix compilation if I915_PARAM_HAS_VMAP is not defined Paulo Zanoni
2011-08-31 16:36 ` Eugeni Dodonov
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.