From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Gustavo Padovan <gustavo@padovan.org>
Cc: Gustavo Padovan <gustavo.padovan@collabora.com>,
Steven Rostedt <rostedt@goodmis.org>,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/armada: Include current dir on CFLAGS for armada trace
Date: Mon, 16 Jan 2017 23:53:53 +0200 [thread overview]
Message-ID: <7469924.7s2D0ryXdq@avalon> (raw)
In-Reply-To: <20170116211258.GI16017@joana>
Hi Gustavo,
(CC'ing Steven)
On Monday 16 Jan 2017 19:12:58 Gustavo Padovan wrote:
> 2017-01-16 Laurent Pinchart <laurent.pinchart@ideasonboard.com>:
> > On Monday 16 Jan 2017 18:13:30 Gustavo Padovan wrote:
> >> From: Gustavo Padovan <gustavo.padovan@collabora.com>
> >>
> >> Otherwise compilation fails like this:
> >>
> >> In file included from drivers/gpu/drm/armada/armada_trace.h:66:0,
> >>
> >> from drivers/gpu/drm/armada/armada_trace.c:3:
> >> ./include/trace/define_trace.h:88:43: fatal error: ./armada_trace.h: No
> >> such file or directory compilation terminated.
> >>
> >> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
> >
> > How about a Fixes: line ?
>
> Fixes: c8a220c686a5 ("drm/armada: add tracing support")
Thank you.
The approach taken here seems to be shared by a fair number of drivers, so
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
However, you could also set TRACE_INCLUDE_PATH to ../../drivers/gpu/drm/armada
as done by drivers/dma-buf, drivers/ras and drivers/net/fjes. I'm not sure
what's best, but if setting CFLAGS is preferred, I think we should get rid of
TRACE_INCLUDE_PATH.
Steven, any opinion ? To avoid forcing you to dig the original e-mail up, the
proposed fix is
> diff --git a/drivers/gpu/drm/armada/Makefile
> b/drivers/gpu/drm/armada/Makefile
> index a18f156..64c0b45 100644
> --- a/drivers/gpu/drm/armada/Makefile
> +++ b/drivers/gpu/drm/armada/Makefile
> @@ -4,3 +4,5 @@ armada-y += armada_510.o
> armada-$(CONFIG_DEBUG_FS) += armada_debugfs.o
>
> obj-$(CONFIG_DRM_ARMADA) := armada.o
> +
> +CFLAGS_armada_trace.o := -I$(src)
--
Regards,
Laurent Pinchart
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-01-16 21:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-16 20:13 [PATCH] drm/armada: Include current dir on CFLAGS for armada trace Gustavo Padovan
2017-01-16 20:37 ` Laurent Pinchart
2017-01-16 21:12 ` Gustavo Padovan
2017-01-16 21:53 ` Laurent Pinchart [this message]
2017-03-29 1:27 ` Steven Rostedt
2017-01-23 8:21 ` Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7469924.7s2D0ryXdq@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gustavo.padovan@collabora.com \
--cc=gustavo@padovan.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.