All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Boll <andreas.boll.dev@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH libdrm 3/6] libdrm: Fix drm.h include path in virtgpu drm header file
Date: Thu, 21 Jul 2016 15:12:41 +0200	[thread overview]
Message-ID: <1469106764-19411-4-git-send-email-andreas.boll.dev@gmail.com> (raw)
In-Reply-To: <1469106764-19411-1-git-send-email-andreas.boll.dev@gmail.com>

A similar change was made to mesa's copy of virtgpu_drm.h by the
following commit:

commit c1bf71f77c9d4bc83fa7dc987b56f98350430d7c
Author: Emil Velikov <emil.velikov@collabora.com>
Date:   Wed Oct 28 11:47:18 2015 +0000

    virgl: fix drm.h include path

    The drm/ prefix is required, if using the kernel provided headers. As
    most distros don't ship them it and we already depend on libdrm (which
    adds the relevant -I flag) just drop the drm/ from the include.

    Once a libdrm release with the virtgpu_drm.h header is released, we can
    drop our local copy of the file.

    Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
    Reviewed-by: Dave Airlie <airlied@redhat.com>

This matches the include path used by all other drm header files.

Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
---
 include/drm/virtgpu_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/virtgpu_drm.h b/include/drm/virtgpu_drm.h
index abf11c5..6a43f8d 100644
--- a/include/drm/virtgpu_drm.h
+++ b/include/drm/virtgpu_drm.h
@@ -25,7 +25,7 @@
 #define VIRTGPU_DRM_H
 
 #include <stddef.h>
-#include "drm/drm.h"
+#include "drm.h"
 
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.
-- 
2.8.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2016-07-21 13:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21 13:12 Misc libdrm fixes Andreas Boll
2016-07-21 13:12 ` [PATCH libdrm 1/6] radeon: Wire up radeon-symbol-check to make check Andreas Boll
2016-07-21 13:12 ` [PATCH libdrm 2/6] automake: Pick up all Android files for distribution Andreas Boll
2016-07-21 16:14   ` Emil Velikov
2016-07-22 11:25     ` [PATCH libdrm] automake: Don't include Android Makefiles in the release tarball Andreas Boll
2016-07-22 11:28     ` [PATCH libdrm 2/6] automake: Pick up all Android files for distribution Andreas Boll
2016-07-21 13:12 ` Andreas Boll [this message]
2016-07-21 16:10   ` [PATCH libdrm 3/6] libdrm: Fix drm.h include path in virtgpu drm header file Emil Velikov
2016-07-22 11:26     ` [PATCH libdrm] virtgpu: Update kernel header Andreas Boll
2016-07-22 22:25       ` Emil Velikov
2016-07-22 11:28     ` [PATCH libdrm 3/6] libdrm: Fix drm.h include path in virtgpu drm header file Andreas Boll
2016-07-21 13:12 ` [PATCH libdrm 4/6] automake: Include virtgpu_drm.h in the release tarball Andreas Boll
2016-07-21 13:12 ` [PATCH libdrm 5/6] man: Fix typo Andreas Boll
2016-07-21 13:12 ` [PATCH libdrm 6/6] radeon: Fix typo in stderr message Andreas Boll
2016-07-21 16:38 ` Misc libdrm fixes Emil Velikov

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=1469106764-19411-4-git-send-email-andreas.boll.dev@gmail.com \
    --to=andreas.boll.dev@gmail.com \
    --cc=dri-devel@lists.freedesktop.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.