All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile
@ 2017-05-18  4:29 ` Masahiro Yamada
  0 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Philippe Cornu, Daniel Vetter, Chris Wilson,
	Tomi Valkeinen, Eric Anholt, Yannick Fertre, Archit Taneja,
	virtualization, Zach Reizner, VMware Graphics, Thomas Hellstrom,
	Patrik Jakobsson, Dave Airlie, Gerd Hoffmann, Sinclair Yeh


Many Makefiles needed to add -Iinclude/drm as an include path,
but the right thing to do is to include headers in the form
  #include <drm/.../*.h>

This series fixes the source files, then rip off -Iinclude/drm flags.

V3: rebased on commit bb2af9bda33 (drm-misc-next)


Masahiro Yamada (16):
  drm/vc4: fix include notation and remove -Iinclude/drm flag
  drm/virtio: fix include notation and remove -Iinclude/drm flag
  drm/vmwgfx: fix include notation and remove -Iinclude/drm flag
  drm/gma500: remove unneeded -Iinclude/drm compiler flag
  drm/i810: remove unneeded -Iinclude/drm compiler flag
  drm/i2c: remove unneeded -Iinclude/drm compiler flag
  drm/mga: remove unneeded -Iinclude/drm compiler flag
  drm/omap: remove unneeded -Iinclude/drm compiler flag
  drm/r128: remove unneeded -Iinclude/drm compiler flag
  drm/savage: remove unneeded -Iinclude/drm compiler flag
  drm/sis: remove unneeded -Iinclude/drm compiler flag
  drm/stm: remove unneeded -Iinclude/drm compiler flag
  drm/tdfx: remove unneeded -Iinclude/drm compiler flag
  drm/udl: remove unneeded -Iinclude/drm compiler flag
  drm/vgem: remove unneeded -Iinclude/drm compiler flag
  drm/via: remove unneeded -Iinclude/drm compiler flag

 drivers/gpu/drm/gma500/Makefile          |  1 -
 drivers/gpu/drm/i2c/Makefile             |  2 --
 drivers/gpu/drm/i810/Makefile            |  1 -
 drivers/gpu/drm/mga/Makefile             |  1 -
 drivers/gpu/drm/omapdrm/Makefile         |  1 -
 drivers/gpu/drm/r128/Makefile            |  1 -
 drivers/gpu/drm/savage/Makefile          |  1 -
 drivers/gpu/drm/sis/Makefile             |  1 -
 drivers/gpu/drm/stm/Makefile             |  2 --
 drivers/gpu/drm/tdfx/Makefile            |  1 -
 drivers/gpu/drm/udl/Makefile             |  3 ---
 drivers/gpu/drm/vc4/Makefile             |  2 --
 drivers/gpu/drm/vc4/vc4_crtc.c           | 14 +++++++-------
 drivers/gpu/drm/vc4/vc4_dpi.c            | 16 ++++++++--------
 drivers/gpu/drm/vc4/vc4_drv.c            |  2 +-
 drivers/gpu/drm/vc4/vc4_drv.h            |  6 ++----
 drivers/gpu/drm/vc4/vc4_dsi.c            | 28 ++++++++++++++--------------
 drivers/gpu/drm/vc4/vc4_hdmi.c           | 30 +++++++++++++++---------------
 drivers/gpu/drm/vc4/vc4_hvs.c            |  2 +-
 drivers/gpu/drm/vc4/vc4_kms.c            | 12 ++++++------
 drivers/gpu/drm/vc4/vc4_plane.c          |  9 +++++----
 drivers/gpu/drm/vc4/vc4_v3d.c            |  6 +++---
 drivers/gpu/drm/vgem/Makefile            |  1 -
 drivers/gpu/drm/via/Makefile             |  1 -
 drivers/gpu/drm/virtio/Makefile          |  2 --
 drivers/gpu/drm/virtio/virtgpu_debugfs.c |  2 +-
 drivers/gpu/drm/virtio/virtgpu_drv.c     |  4 ++--
 drivers/gpu/drm/virtio/virtgpu_drv.h     |  8 ++++----
 drivers/gpu/drm/virtio/virtgpu_ioctl.c   |  5 +++--
 drivers/gpu/drm/virtio/virtgpu_ttm.c     | 10 +++++-----
 drivers/gpu/drm/vmwgfx/Makefile          |  3 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c   |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c  |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c  |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c      |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c   |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  |  3 ++-
 37 files changed, 88 insertions(+), 107 deletions(-)

-- 
2.7.4

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

* [PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile
@ 2017-05-18  4:29 ` Masahiro Yamada
  0 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Philippe Cornu, Daniel Vetter, Chris Wilson,
	Tomi Valkeinen, Eric Anholt, Yannick Fertre, Archit Taneja,
	virtualization, Zach Reizner, VMware Graphics, Thomas Hellstrom,
	Patrik Jakobsson, Dave Airlie, Gerd Hoffmann


Many Makefiles needed to add -Iinclude/drm as an include path,
but the right thing to do is to include headers in the form
  #include <drm/.../*.h>

This series fixes the source files, then rip off -Iinclude/drm flags.

V3: rebased on commit bb2af9bda33 (drm-misc-next)


Masahiro Yamada (16):
  drm/vc4: fix include notation and remove -Iinclude/drm flag
  drm/virtio: fix include notation and remove -Iinclude/drm flag
  drm/vmwgfx: fix include notation and remove -Iinclude/drm flag
  drm/gma500: remove unneeded -Iinclude/drm compiler flag
  drm/i810: remove unneeded -Iinclude/drm compiler flag
  drm/i2c: remove unneeded -Iinclude/drm compiler flag
  drm/mga: remove unneeded -Iinclude/drm compiler flag
  drm/omap: remove unneeded -Iinclude/drm compiler flag
  drm/r128: remove unneeded -Iinclude/drm compiler flag
  drm/savage: remove unneeded -Iinclude/drm compiler flag
  drm/sis: remove unneeded -Iinclude/drm compiler flag
  drm/stm: remove unneeded -Iinclude/drm compiler flag
  drm/tdfx: remove unneeded -Iinclude/drm compiler flag
  drm/udl: remove unneeded -Iinclude/drm compiler flag
  drm/vgem: remove unneeded -Iinclude/drm compiler flag
  drm/via: remove unneeded -Iinclude/drm compiler flag

 drivers/gpu/drm/gma500/Makefile          |  1 -
 drivers/gpu/drm/i2c/Makefile             |  2 --
 drivers/gpu/drm/i810/Makefile            |  1 -
 drivers/gpu/drm/mga/Makefile             |  1 -
 drivers/gpu/drm/omapdrm/Makefile         |  1 -
 drivers/gpu/drm/r128/Makefile            |  1 -
 drivers/gpu/drm/savage/Makefile          |  1 -
 drivers/gpu/drm/sis/Makefile             |  1 -
 drivers/gpu/drm/stm/Makefile             |  2 --
 drivers/gpu/drm/tdfx/Makefile            |  1 -
 drivers/gpu/drm/udl/Makefile             |  3 ---
 drivers/gpu/drm/vc4/Makefile             |  2 --
 drivers/gpu/drm/vc4/vc4_crtc.c           | 14 +++++++-------
 drivers/gpu/drm/vc4/vc4_dpi.c            | 16 ++++++++--------
 drivers/gpu/drm/vc4/vc4_drv.c            |  2 +-
 drivers/gpu/drm/vc4/vc4_drv.h            |  6 ++----
 drivers/gpu/drm/vc4/vc4_dsi.c            | 28 ++++++++++++++--------------
 drivers/gpu/drm/vc4/vc4_hdmi.c           | 30 +++++++++++++++---------------
 drivers/gpu/drm/vc4/vc4_hvs.c            |  2 +-
 drivers/gpu/drm/vc4/vc4_kms.c            | 12 ++++++------
 drivers/gpu/drm/vc4/vc4_plane.c          |  9 +++++----
 drivers/gpu/drm/vc4/vc4_v3d.c            |  6 +++---
 drivers/gpu/drm/vgem/Makefile            |  1 -
 drivers/gpu/drm/via/Makefile             |  1 -
 drivers/gpu/drm/virtio/Makefile          |  2 --
 drivers/gpu/drm/virtio/virtgpu_debugfs.c |  2 +-
 drivers/gpu/drm/virtio/virtgpu_drv.c     |  4 ++--
 drivers/gpu/drm/virtio/virtgpu_drv.h     |  8 ++++----
 drivers/gpu/drm/virtio/virtgpu_ioctl.c   |  5 +++--
 drivers/gpu/drm/virtio/virtgpu_ttm.c     | 10 +++++-----
 drivers/gpu/drm/vmwgfx/Makefile          |  3 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c   |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c  |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c  |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c      |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c   |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  |  3 ++-
 37 files changed, 88 insertions(+), 107 deletions(-)

-- 
2.7.4

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

* [PATCH v3 01/16] drm/vc4: fix include notation and remove -Iinclude/drm flag
  2017-05-18  4:29 ` Masahiro Yamada
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Eric Anholt

Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

While we are here, use <...> instead of "..." for include/linux/*.h
and include/sound/*.h headers too.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3:
  - Rebase

 drivers/gpu/drm/vc4/Makefile    |  2 --
 drivers/gpu/drm/vc4/vc4_crtc.c  | 14 +++++++-------
 drivers/gpu/drm/vc4/vc4_dpi.c   | 16 ++++++++--------
 drivers/gpu/drm/vc4/vc4_drv.c   |  2 +-
 drivers/gpu/drm/vc4/vc4_drv.h   |  6 ++----
 drivers/gpu/drm/vc4/vc4_dsi.c   | 28 ++++++++++++++--------------
 drivers/gpu/drm/vc4/vc4_hdmi.c  | 30 +++++++++++++++---------------
 drivers/gpu/drm/vc4/vc4_hvs.c   |  2 +-
 drivers/gpu/drm/vc4/vc4_kms.c   | 12 ++++++------
 drivers/gpu/drm/vc4/vc4_plane.c |  9 +++++----
 drivers/gpu/drm/vc4/vc4_v3d.c   |  6 +++---
 11 files changed, 62 insertions(+), 65 deletions(-)

diff --git a/drivers/gpu/drm/vc4/Makefile b/drivers/gpu/drm/vc4/Makefile
index ab687fb..25bd5d3 100644
--- a/drivers/gpu/drm/vc4/Makefile
+++ b/drivers/gpu/drm/vc4/Makefile
@@ -1,5 +1,3 @@
-ccflags-y := -Iinclude/drm
-
 # Please keep these build lists sorted!
 
 # core driver code
diff --git a/drivers/gpu/drm/vc4/vc4_crtc.c b/drivers/gpu/drm/vc4/vc4_crtc.c
index 1b4dbe9..0bfc4d8 100644
--- a/drivers/gpu/drm/vc4/vc4_crtc.c
+++ b/drivers/gpu/drm/vc4/vc4_crtc.c
@@ -32,13 +32,13 @@
  * ones that set the clock.
  */
 
-#include "drm_atomic.h"
-#include "drm_atomic_helper.h"
-#include "drm_crtc_helper.h"
-#include "linux/clk.h"
-#include "drm_fb_cma_helper.h"
-#include "linux/component.h"
-#include "linux/of_device.h"
+#include <drm/drm_atomic.h>
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_crtc_helper.h>
+#include <linux/clk.h>
+#include <drm/drm_fb_cma_helper.h>
+#include <linux/component.h>
+#include <linux/of_device.h>
 #include "vc4_drv.h"
 #include "vc4_regs.h"
 
diff --git a/drivers/gpu/drm/vc4/vc4_dpi.c b/drivers/gpu/drm/vc4/vc4_dpi.c
index c6d7039..39d6808 100644
--- a/drivers/gpu/drm/vc4/vc4_dpi.c
+++ b/drivers/gpu/drm/vc4/vc4_dpi.c
@@ -22,14 +22,14 @@
  * ALT2 function.
  */
 
-#include "drm_atomic_helper.h"
-#include "drm_crtc_helper.h"
-#include "drm_edid.h"
-#include "drm_panel.h"
-#include "linux/clk.h"
-#include "linux/component.h"
-#include "linux/of_graph.h"
-#include "linux/of_platform.h"
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_crtc_helper.h>
+#include <drm/drm_edid.h>
+#include <drm/drm_panel.h>
+#include <linux/clk.h>
+#include <linux/component.h>
+#include <linux/of_graph.h>
+#include <linux/of_platform.h>
 #include "vc4_drv.h"
 #include "vc4_regs.h"
 
diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c
index 8639749..136bb42 100644
--- a/drivers/gpu/drm/vc4/vc4_drv.c
+++ b/drivers/gpu/drm/vc4/vc4_drv.c
@@ -31,7 +31,7 @@
 #include <linux/of_platform.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
-#include "drm_fb_cma_helper.h"
+#include <drm/drm_fb_cma_helper.h>
 #include <drm/drm_fb_helper.h>
 
 #include "uapi/drm/vc4_drm.h"
diff --git a/drivers/gpu/drm/vc4/vc4_drv.h b/drivers/gpu/drm/vc4/vc4_drv.h
index 5ba2813..a97556f 100644
--- a/drivers/gpu/drm/vc4/vc4_drv.h
+++ b/drivers/gpu/drm/vc4/vc4_drv.h
@@ -6,12 +6,10 @@
  * published by the Free Software Foundation.
  */
 
-#include "drmP.h"
-#include "drm_gem_cma_helper.h"
-#include "drm_gem_cma_helper.h"
-
 #include <linux/reservation.h>
+#include <drm/drmP.h>
 #include <drm/drm_encoder.h>
+#include <drm/drm_gem_cma_helper.h>
 
 struct vc4_dev {
 	struct drm_device *dev;
diff --git a/drivers/gpu/drm/vc4/vc4_dsi.c b/drivers/gpu/drm/vc4/vc4_dsi.c
index fdb3877..0ef41df 100644
--- a/drivers/gpu/drm/vc4/vc4_dsi.c
+++ b/drivers/gpu/drm/vc4/vc4_dsi.c
@@ -29,20 +29,20 @@
  * hopefully present.
  */
 
-#include "drm_atomic_helper.h"
-#include "drm_crtc_helper.h"
-#include "drm_edid.h"
-#include "drm_mipi_dsi.h"
-#include "drm_panel.h"
-#include "linux/clk.h"
-#include "linux/clk-provider.h"
-#include "linux/completion.h"
-#include "linux/component.h"
-#include "linux/dmaengine.h"
-#include "linux/i2c.h"
-#include "linux/of_address.h"
-#include "linux/of_platform.h"
-#include "linux/pm_runtime.h"
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_crtc_helper.h>
+#include <drm/drm_edid.h>
+#include <drm/drm_mipi_dsi.h>
+#include <drm/drm_panel.h>
+#include <linux/clk.h>
+#include <linux/clk-provider.h>
+#include <linux/completion.h>
+#include <linux/component.h>
+#include <linux/dmaengine.h>
+#include <linux/i2c.h>
+#include <linux/of_address.h>
+#include <linux/of_platform.h>
+#include <linux/pm_runtime.h>
 #include "vc4_drv.h"
 #include "vc4_regs.h"
 
diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c
index 3c2723f6..ed63d4e 100644
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
@@ -42,21 +42,21 @@
  * encoder block has CEC support.
  */
 
-#include "drm_atomic_helper.h"
-#include "drm_crtc_helper.h"
-#include "drm_edid.h"
-#include "linux/clk.h"
-#include "linux/component.h"
-#include "linux/i2c.h"
-#include "linux/of_address.h"
-#include "linux/of_gpio.h"
-#include "linux/of_platform.h"
-#include "linux/pm_runtime.h"
-#include "linux/rational.h"
-#include "sound/dmaengine_pcm.h"
-#include "sound/pcm_drm_eld.h"
-#include "sound/pcm_params.h"
-#include "sound/soc.h"
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_crtc_helper.h>
+#include <drm/drm_edid.h>
+#include <linux/clk.h>
+#include <linux/component.h>
+#include <linux/i2c.h>
+#include <linux/of_address.h>
+#include <linux/of_gpio.h>
+#include <linux/of_platform.h>
+#include <linux/pm_runtime.h>
+#include <linux/rational.h>
+#include <sound/dmaengine_pcm.h>
+#include <sound/pcm_drm_eld.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
 #include "vc4_drv.h"
 #include "vc4_regs.h"
 
diff --git a/drivers/gpu/drm/vc4/vc4_hvs.c b/drivers/gpu/drm/vc4/vc4_hvs.c
index fd421ba..2b62fc5 100644
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
@@ -22,7 +22,7 @@
  * each CRTC.
  */
 
-#include "linux/component.h"
+#include <linux/component.h>
 #include "vc4_drv.h"
 #include "vc4_regs.h"
 
diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c
index 237a504..928d191 100644
--- a/drivers/gpu/drm/vc4/vc4_kms.c
+++ b/drivers/gpu/drm/vc4/vc4_kms.c
@@ -14,12 +14,12 @@
  * crtc, HDMI encoder).
  */
 
-#include "drm_crtc.h"
-#include "drm_atomic.h"
-#include "drm_atomic_helper.h"
-#include "drm_crtc_helper.h"
-#include "drm_plane_helper.h"
-#include "drm_fb_cma_helper.h"
+#include <drm/drm_crtc.h>
+#include <drm/drm_atomic.h>
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_crtc_helper.h>
+#include <drm/drm_plane_helper.h>
+#include <drm/drm_fb_cma_helper.h>
 #include "vc4_drv.h"
 
 static void vc4_output_poll_changed(struct drm_device *dev)
diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c
index d34cd53..da18dec 100644
--- a/drivers/gpu/drm/vc4/vc4_plane.c
+++ b/drivers/gpu/drm/vc4/vc4_plane.c
@@ -18,12 +18,13 @@
  * into the region of the HVS that it has allocated for us.
  */
 
+#include <drm/drm_atomic.h>
+#include <drm/drm_atomic_helper.h>
+#include <drm/drm_fb_cma_helper.h>
+#include <drm/drm_plane_helper.h>
+
 #include "vc4_drv.h"
 #include "vc4_regs.h"
-#include "drm_atomic.h"
-#include "drm_atomic_helper.h"
-#include "drm_fb_cma_helper.h"
-#include "drm_plane_helper.h"
 
 enum vc4_scaling_mode {
 	VC4_SCALING_NONE,
diff --git a/drivers/gpu/drm/vc4/vc4_v3d.c b/drivers/gpu/drm/vc4/vc4_v3d.c
index c53afec..5ae5518 100644
--- a/drivers/gpu/drm/vc4/vc4_v3d.c
+++ b/drivers/gpu/drm/vc4/vc4_v3d.c
@@ -16,9 +16,9 @@
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "linux/clk.h"
-#include "linux/component.h"
-#include "linux/pm_runtime.h"
+#include <linux/clk.h>
+#include <linux/component.h>
+#include <linux/pm_runtime.h>
 #include "vc4_drv.h"
 #include "vc4_regs.h"
 
-- 
2.7.4

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

* [PATCH v3 02/16] drm/virtio: fix include notation and remove -Iinclude/drm flag
  2017-05-18  4:29 ` Masahiro Yamada
  (?)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Gerd Hoffmann, virtualization

Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/virtio/Makefile          |  2 --
 drivers/gpu/drm/virtio/virtgpu_debugfs.c |  2 +-
 drivers/gpu/drm/virtio/virtgpu_drv.c     |  4 ++--
 drivers/gpu/drm/virtio/virtgpu_drv.h     |  8 ++++----
 drivers/gpu/drm/virtio/virtgpu_ioctl.c   |  5 +++--
 drivers/gpu/drm/virtio/virtgpu_ttm.c     | 10 +++++-----
 6 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/drivers/gpu/drm/virtio/Makefile b/drivers/gpu/drm/virtio/Makefile
index 3fb8eac..7684f61 100644
--- a/drivers/gpu/drm/virtio/Makefile
+++ b/drivers/gpu/drm/virtio/Makefile
@@ -2,8 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y := -Iinclude/drm
-
 virtio-gpu-y := virtgpu_drv.o virtgpu_kms.o virtgpu_drm_bus.o virtgpu_gem.o \
 	virtgpu_fb.o virtgpu_display.o virtgpu_vq.o virtgpu_ttm.o \
 	virtgpu_fence.o virtgpu_object.o virtgpu_debugfs.o virtgpu_plane.o \
diff --git a/drivers/gpu/drm/virtio/virtgpu_debugfs.c b/drivers/gpu/drm/virtio/virtgpu_debugfs.c
index f51240a..73dc990 100644
--- a/drivers/gpu/drm/virtio/virtgpu_debugfs.c
+++ b/drivers/gpu/drm/virtio/virtgpu_debugfs.c
@@ -24,8 +24,8 @@
  */
 
 #include <linux/debugfs.h>
+#include <drm/drmP.h>
 
-#include "drmP.h"
 #include "virtgpu_drv.h"
 
 static int
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c
index 2d29b01..63d35c7 100644
--- a/drivers/gpu/drm/virtio/virtgpu_drv.c
+++ b/drivers/gpu/drm/virtio/virtgpu_drv.c
@@ -29,8 +29,8 @@
 #include <linux/module.h>
 #include <linux/console.h>
 #include <linux/pci.h>
-#include "drmP.h"
-#include "drm/drm.h"
+#include <drm/drmP.h>
+#include <drm/drm.h>
 
 #include "virtgpu_drv.h"
 static struct drm_driver driver;
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h
index 1328185..3a66abb 100644
--- a/drivers/gpu/drm/virtio/virtgpu_drv.h
+++ b/drivers/gpu/drm/virtio/virtgpu_drv.h
@@ -36,10 +36,10 @@
 #include <drm/drm_atomic.h>
 #include <drm/drm_crtc_helper.h>
 #include <drm/drm_encoder.h>
-#include <ttm/ttm_bo_api.h>
-#include <ttm/ttm_bo_driver.h>
-#include <ttm/ttm_placement.h>
-#include <ttm/ttm_module.h>
+#include <drm/ttm/ttm_bo_api.h>
+#include <drm/ttm/ttm_bo_driver.h>
+#include <drm/ttm/ttm_placement.h>
+#include <drm/ttm/ttm_module.h>
 
 #define DRIVER_NAME "virtio_gpu"
 #define DRIVER_DESC "virtio GPU"
diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c b/drivers/gpu/drm/virtio/virtgpu_ioctl.c
index 61f3a96..06cb16d 100644
--- a/drivers/gpu/drm/virtio/virtgpu_ioctl.c
+++ b/drivers/gpu/drm/virtio/virtgpu_ioctl.c
@@ -26,9 +26,10 @@
  */
 
 #include <drm/drmP.h>
-#include "virtgpu_drv.h"
 #include <drm/virtgpu_drm.h>
-#include "ttm/ttm_execbuf_util.h"
+#include <drm/ttm/ttm_execbuf_util.h>
+
+#include "virtgpu_drv.h"
 
 static void convert_to_hw_box(struct virtio_gpu_box *dst,
 			      const struct drm_virtgpu_3d_box *src)
diff --git a/drivers/gpu/drm/virtio/virtgpu_ttm.c b/drivers/gpu/drm/virtio/virtgpu_ttm.c
index 4e8e27d..c1f2af4 100644
--- a/drivers/gpu/drm/virtio/virtgpu_ttm.c
+++ b/drivers/gpu/drm/virtio/virtgpu_ttm.c
@@ -25,11 +25,11 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include <ttm/ttm_bo_api.h>
-#include <ttm/ttm_bo_driver.h>
-#include <ttm/ttm_placement.h>
-#include <ttm/ttm_page_alloc.h>
-#include <ttm/ttm_module.h>
+#include <drm/ttm/ttm_bo_api.h>
+#include <drm/ttm/ttm_bo_driver.h>
+#include <drm/ttm/ttm_placement.h>
+#include <drm/ttm/ttm_page_alloc.h>
+#include <drm/ttm/ttm_module.h>
 #include <drm/drmP.h>
 #include <drm/drm.h>
 #include <drm/virtgpu_drm.h>
-- 
2.7.4

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

* [PATCH v3 02/16] drm/virtio: fix include notation and remove -Iinclude/drm flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (2 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, linux-kernel, Jani Nikula, virtualization,
	Masahiro Yamada, Sean Paul

Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/virtio/Makefile          |  2 --
 drivers/gpu/drm/virtio/virtgpu_debugfs.c |  2 +-
 drivers/gpu/drm/virtio/virtgpu_drv.c     |  4 ++--
 drivers/gpu/drm/virtio/virtgpu_drv.h     |  8 ++++----
 drivers/gpu/drm/virtio/virtgpu_ioctl.c   |  5 +++--
 drivers/gpu/drm/virtio/virtgpu_ttm.c     | 10 +++++-----
 6 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/drivers/gpu/drm/virtio/Makefile b/drivers/gpu/drm/virtio/Makefile
index 3fb8eac..7684f61 100644
--- a/drivers/gpu/drm/virtio/Makefile
+++ b/drivers/gpu/drm/virtio/Makefile
@@ -2,8 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y := -Iinclude/drm
-
 virtio-gpu-y := virtgpu_drv.o virtgpu_kms.o virtgpu_drm_bus.o virtgpu_gem.o \
 	virtgpu_fb.o virtgpu_display.o virtgpu_vq.o virtgpu_ttm.o \
 	virtgpu_fence.o virtgpu_object.o virtgpu_debugfs.o virtgpu_plane.o \
diff --git a/drivers/gpu/drm/virtio/virtgpu_debugfs.c b/drivers/gpu/drm/virtio/virtgpu_debugfs.c
index f51240a..73dc990 100644
--- a/drivers/gpu/drm/virtio/virtgpu_debugfs.c
+++ b/drivers/gpu/drm/virtio/virtgpu_debugfs.c
@@ -24,8 +24,8 @@
  */
 
 #include <linux/debugfs.h>
+#include <drm/drmP.h>
 
-#include "drmP.h"
 #include "virtgpu_drv.h"
 
 static int
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c
index 2d29b01..63d35c7 100644
--- a/drivers/gpu/drm/virtio/virtgpu_drv.c
+++ b/drivers/gpu/drm/virtio/virtgpu_drv.c
@@ -29,8 +29,8 @@
 #include <linux/module.h>
 #include <linux/console.h>
 #include <linux/pci.h>
-#include "drmP.h"
-#include "drm/drm.h"
+#include <drm/drmP.h>
+#include <drm/drm.h>
 
 #include "virtgpu_drv.h"
 static struct drm_driver driver;
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.h b/drivers/gpu/drm/virtio/virtgpu_drv.h
index 1328185..3a66abb 100644
--- a/drivers/gpu/drm/virtio/virtgpu_drv.h
+++ b/drivers/gpu/drm/virtio/virtgpu_drv.h
@@ -36,10 +36,10 @@
 #include <drm/drm_atomic.h>
 #include <drm/drm_crtc_helper.h>
 #include <drm/drm_encoder.h>
-#include <ttm/ttm_bo_api.h>
-#include <ttm/ttm_bo_driver.h>
-#include <ttm/ttm_placement.h>
-#include <ttm/ttm_module.h>
+#include <drm/ttm/ttm_bo_api.h>
+#include <drm/ttm/ttm_bo_driver.h>
+#include <drm/ttm/ttm_placement.h>
+#include <drm/ttm/ttm_module.h>
 
 #define DRIVER_NAME "virtio_gpu"
 #define DRIVER_DESC "virtio GPU"
diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c b/drivers/gpu/drm/virtio/virtgpu_ioctl.c
index 61f3a96..06cb16d 100644
--- a/drivers/gpu/drm/virtio/virtgpu_ioctl.c
+++ b/drivers/gpu/drm/virtio/virtgpu_ioctl.c
@@ -26,9 +26,10 @@
  */
 
 #include <drm/drmP.h>
-#include "virtgpu_drv.h"
 #include <drm/virtgpu_drm.h>
-#include "ttm/ttm_execbuf_util.h"
+#include <drm/ttm/ttm_execbuf_util.h>
+
+#include "virtgpu_drv.h"
 
 static void convert_to_hw_box(struct virtio_gpu_box *dst,
 			      const struct drm_virtgpu_3d_box *src)
diff --git a/drivers/gpu/drm/virtio/virtgpu_ttm.c b/drivers/gpu/drm/virtio/virtgpu_ttm.c
index 4e8e27d..c1f2af4 100644
--- a/drivers/gpu/drm/virtio/virtgpu_ttm.c
+++ b/drivers/gpu/drm/virtio/virtgpu_ttm.c
@@ -25,11 +25,11 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include <ttm/ttm_bo_api.h>
-#include <ttm/ttm_bo_driver.h>
-#include <ttm/ttm_placement.h>
-#include <ttm/ttm_page_alloc.h>
-#include <ttm/ttm_module.h>
+#include <drm/ttm/ttm_bo_api.h>
+#include <drm/ttm/ttm_bo_driver.h>
+#include <drm/ttm/ttm_placement.h>
+#include <drm/ttm/ttm_page_alloc.h>
+#include <drm/ttm/ttm_module.h>
 #include <drm/drmP.h>
 #include <drm/drm.h>
 #include <drm/virtgpu_drm.h>
-- 
2.7.4

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

* [PATCH v3 03/16] drm/vmwgfx: fix include notation and remove -Iinclude/drm flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (3 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Thomas Hellstrom, VMware Graphics, Sinclair Yeh

Include <drm/*.h> instead of relative path from include/drm, then
remove the -Iinclude/drm compiler flag.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/vmwgfx/Makefile         | 3 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c  | 3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c     | 2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c  | 3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 3 ++-
 7 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/drivers/gpu/drm/vmwgfx/Makefile b/drivers/gpu/drm/vmwgfx/Makefile
index aac17a6..a365330 100644
--- a/drivers/gpu/drm/vmwgfx/Makefile
+++ b/drivers/gpu/drm/vmwgfx/Makefile
@@ -1,6 +1,3 @@
-
-ccflags-y := -Iinclude/drm
-
 vmwgfx-y := vmwgfx_execbuf.o vmwgfx_gmr.o vmwgfx_kms.o vmwgfx_drv.o \
 	    vmwgfx_fb.o vmwgfx_ioctl.o vmwgfx_resource.o vmwgfx_buffer.o \
 	    vmwgfx_fifo.o vmwgfx_irq.o vmwgfx_ldu.o vmwgfx_ttm_glue.o \
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
index 77cb7c6..99a7f4a 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
@@ -25,8 +25,9 @@
  *
  **************************************************************************/
 
+#include <drm/ttm/ttm_bo_api.h>
+
 #include "vmwgfx_drv.h"
-#include "ttm/ttm_bo_api.h"
 
 /*
  * Size of inline command buffers. Try to make sure that a page size is a
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_context.c b/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
index 443d1ed..bcc6d41 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
@@ -25,10 +25,11 @@
  *
  **************************************************************************/
 
+#include <drm/ttm/ttm_placement.h>
+
 #include "vmwgfx_drv.h"
 #include "vmwgfx_resource_priv.h"
 #include "vmwgfx_binding.h"
-#include "ttm/ttm_placement.h"
 
 struct vmw_user_context {
 	struct ttm_base_object base;
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c
index 265c81e..6c026d7 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c
@@ -30,9 +30,10 @@
  * whenever the backing MOB is evicted.
  */
 
+#include <drm/ttm/ttm_placement.h>
+
 #include "vmwgfx_drv.h"
 #include "vmwgfx_resource_priv.h"
-#include <ttm/ttm_placement.h>
 #include "vmwgfx_so.h"
 
 /**
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c
index e57a0ba..6063c96 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_msg.c
@@ -30,7 +30,7 @@
 #include <linux/kernel.h>
 #include <linux/frame.h>
 #include <asm/hypervisor.h>
-#include "drmP.h"
+#include <drm/drmP.h>
 #include "vmwgfx_msg.h"
 
 
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c b/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
index 92f8b1d..68f135c 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
@@ -25,10 +25,11 @@
  *
  **************************************************************************/
 
+#include <drm/ttm/ttm_placement.h>
+
 #include "vmwgfx_drv.h"
 #include "vmwgfx_resource_priv.h"
 #include "vmwgfx_binding.h"
-#include "ttm/ttm_placement.h"
 
 struct vmw_shader {
 	struct vmw_resource res;
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
index 7681341..5900cff 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
@@ -25,11 +25,12 @@
  *
  **************************************************************************/
 
+#include <drm/ttm/ttm_placement.h>
+
 #include "vmwgfx_drv.h"
 #include "vmwgfx_resource_priv.h"
 #include "vmwgfx_so.h"
 #include "vmwgfx_binding.h"
-#include <ttm/ttm_placement.h>
 #include "device_include/svga3d_surfacedefs.h"
 
 
-- 
2.7.4

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

* [PATCH v3 04/16] drm/gma500: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (4 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Patrik Jakobsson

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/gma500/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/gma500/Makefile b/drivers/gpu/drm/gma500/Makefile
index 190e55f..c1c8dc1 100644
--- a/drivers/gpu/drm/gma500/Makefile
+++ b/drivers/gpu/drm/gma500/Makefile
@@ -1,7 +1,6 @@
 #
 #	KMS driver for the GMA500
 #
-ccflags-y += -I$(srctree)/include/drm
 
 gma500_gfx-y += \
 	  accel_2d.o \
-- 
2.7.4

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

* [PATCH v3 05/16] drm/i810: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (5 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel, Masahiro Yamada

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/i810/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/i810/Makefile b/drivers/gpu/drm/i810/Makefile
index 43844ec..639f859 100644
--- a/drivers/gpu/drm/i810/Makefile
+++ b/drivers/gpu/drm/i810/Makefile
@@ -2,7 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y := -Iinclude/drm
 i810-y := i810_drv.o i810_dma.o
 
 obj-$(CONFIG_DRM_I810)	+= i810.o
-- 
2.7.4

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

* [PATCH v3 06/16] drm/i2c: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (6 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  2017-05-18  5:25     ` Archit Taneja
  -1 siblings, 1 reply; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Archit Taneja

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/i2c/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i2c/Makefile b/drivers/gpu/drm/i2c/Makefile
index 43aa33b..a77acfc 100644
--- a/drivers/gpu/drm/i2c/Makefile
+++ b/drivers/gpu/drm/i2c/Makefile
@@ -1,5 +1,3 @@
-ccflags-y := -Iinclude/drm
-
 ch7006-y := ch7006_drv.o ch7006_mode.o
 obj-$(CONFIG_DRM_I2C_CH7006) += ch7006.o
 
-- 
2.7.4

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

* [PATCH v3 07/16] drm/mga: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (7 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel, Masahiro Yamada

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/mga/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/mga/Makefile b/drivers/gpu/drm/mga/Makefile
index 6068478..49e972c 100644
--- a/drivers/gpu/drm/mga/Makefile
+++ b/drivers/gpu/drm/mga/Makefile
@@ -2,7 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y := -Iinclude/drm
 mga-y := mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o
 
 mga-$(CONFIG_COMPAT) += mga_ioc32.o
-- 
2.7.4

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

* [PATCH v3 08/16] drm/omap: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (8 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Tomi Valkeinen

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/omapdrm/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/omapdrm/Makefile b/drivers/gpu/drm/omapdrm/Makefile
index 48b7b75..b391be7 100644
--- a/drivers/gpu/drm/omapdrm/Makefile
+++ b/drivers/gpu/drm/omapdrm/Makefile
@@ -6,7 +6,6 @@
 obj-y += dss/
 obj-y += displays/
 
-ccflags-y := -Iinclude/drm
 omapdrm-y := omap_drv.o \
 	omap_irq.o \
 	omap_debugfs.o \
-- 
2.7.4

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

* [PATCH v3 09/16] drm/r128: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (9 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel, Masahiro Yamada

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/r128/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/r128/Makefile b/drivers/gpu/drm/r128/Makefile
index 1cc72ae..1a6700e 100644
--- a/drivers/gpu/drm/r128/Makefile
+++ b/drivers/gpu/drm/r128/Makefile
@@ -2,7 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y := -Iinclude/drm
 r128-y   := r128_drv.o r128_cce.o r128_state.o r128_irq.o
 
 r128-$(CONFIG_COMPAT)   += r128_ioc32.o
-- 
2.7.4

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

* [PATCH v3 10/16] drm/savage: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (10 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel, Masahiro Yamada

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/savage/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/savage/Makefile b/drivers/gpu/drm/savage/Makefile
index d8f84ac..cfd436b 100644
--- a/drivers/gpu/drm/savage/Makefile
+++ b/drivers/gpu/drm/savage/Makefile
@@ -2,7 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y = -Iinclude/drm
 savage-y := savage_drv.o savage_bci.o savage_state.o
 
 obj-$(CONFIG_DRM_SAVAGE)+= savage.o
-- 
2.7.4

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

* [PATCH v3 11/16] drm/sis: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (11 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel, Masahiro Yamada

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/sis/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/sis/Makefile b/drivers/gpu/drm/sis/Makefile
index 441c061..7bf4c13 100644
--- a/drivers/gpu/drm/sis/Makefile
+++ b/drivers/gpu/drm/sis/Makefile
@@ -2,7 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y = -Iinclude/drm
 sis-y := sis_drv.o sis_mm.o
 
 obj-$(CONFIG_DRM_SIS)   += sis.o
-- 
2.7.4

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

* [PATCH v3 12/16] drm/stm: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (12 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  2017-05-22  7:37     ` Daniel Vetter
  -1 siblings, 1 reply; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Yannick Fertre, Philippe Cornu

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/stm/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/stm/Makefile b/drivers/gpu/drm/stm/Makefile
index e114d45..a09ecf4 100644
--- a/drivers/gpu/drm/stm/Makefile
+++ b/drivers/gpu/drm/stm/Makefile
@@ -1,5 +1,3 @@
-ccflags-y := -Iinclude/drm
-
 stm-drm-y := \
 	drv.o \
 	ltdc.o
-- 
2.7.4

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

* [PATCH v3 13/16] drm/tdfx: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (13 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel, Masahiro Yamada

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/tdfx/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/tdfx/Makefile b/drivers/gpu/drm/tdfx/Makefile
index 0379f29..74bd4ae3 100644
--- a/drivers/gpu/drm/tdfx/Makefile
+++ b/drivers/gpu/drm/tdfx/Makefile
@@ -2,7 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y := -Iinclude/drm
 tdfx-y := tdfx_drv.o
 
 obj-$(CONFIG_DRM_TDFX)	+= tdfx.o
-- 
2.7.4

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

* [PATCH v3 14/16] drm/udl: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (14 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Dave Airlie

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/udl/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/udl/Makefile b/drivers/gpu/drm/udl/Makefile
index 195bcac..36f2e82 100644
--- a/drivers/gpu/drm/udl/Makefile
+++ b/drivers/gpu/drm/udl/Makefile
@@ -1,6 +1,3 @@
-
-ccflags-y := -Iinclude/drm
-
 udl-y := udl_drv.o udl_modeset.o udl_connector.o udl_encoder.o udl_main.o udl_fb.o udl_transfer.o udl_gem.o udl_dmabuf.o
 
 obj-$(CONFIG_DRM_UDL) := udl.o
-- 
2.7.4

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

* [PATCH v3 15/16] drm/vgem: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (15 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel,
	Masahiro Yamada, Daniel Vetter, Zach Reizner, Chris Wilson

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/vgem/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/vgem/Makefile b/drivers/gpu/drm/vgem/Makefile
index bfcdea1..cb5d413 100644
--- a/drivers/gpu/drm/vgem/Makefile
+++ b/drivers/gpu/drm/vgem/Makefile
@@ -1,4 +1,3 @@
-ccflags-y := -Iinclude/drm
 vgem-y := vgem_drv.o vgem_fence.o
 
 obj-$(CONFIG_DRM_VGEM)	+= vgem.o
-- 
2.7.4

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

* [PATCH v3 16/16] drm/via: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` Masahiro Yamada
                   ` (16 preceding siblings ...)
  (?)
@ 2017-05-18  4:29 ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel, Masahiro Yamada

With the include directives under include/drm/ fixed, this flag is
no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3: None

 drivers/gpu/drm/via/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/via/Makefile b/drivers/gpu/drm/via/Makefile
index d59e258..751fa8b 100644
--- a/drivers/gpu/drm/via/Makefile
+++ b/drivers/gpu/drm/via/Makefile
@@ -2,7 +2,6 @@
 # Makefile for the drm device driver.  This driver provides support for the
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
 
-ccflags-y := -Iinclude/drm
 via-y    := via_irq.o via_drv.o via_map.o via_mm.o via_dma.o via_verifier.o via_video.o via_dmablit.o
 
 obj-$(CONFIG_DRM_VIA)	+=via.o
-- 
2.7.4

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

* Re: [PATCH v3 06/16] drm/i2c: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` [PATCH v3 06/16] drm/i2c: " Masahiro Yamada
@ 2017-05-18  5:25     ` Archit Taneja
  0 siblings, 0 replies; 25+ messages in thread
From: Archit Taneja @ 2017-05-18  5:25 UTC (permalink / raw)
  To: Masahiro Yamada, dri-devel, Daniel Vetter
  Cc: David Airlie, Jani Nikula, Sean Paul, linux-kernel



On 05/18/2017 09:59 AM, Masahiro Yamada wrote:
> With the include directives under include/drm/ fixed, this flag is
> no longer needed.

Acked-by: Archit Taneja <architt@codeaurora.org>

>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> Changes in v3: None
>
>  drivers/gpu/drm/i2c/Makefile | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i2c/Makefile b/drivers/gpu/drm/i2c/Makefile
> index 43aa33b..a77acfc 100644
> --- a/drivers/gpu/drm/i2c/Makefile
> +++ b/drivers/gpu/drm/i2c/Makefile
> @@ -1,5 +1,3 @@
> -ccflags-y := -Iinclude/drm
> -
>  ch7006-y := ch7006_drv.o ch7006_mode.o
>  obj-$(CONFIG_DRM_I2C_CH7006) += ch7006.o
>
>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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

* Re: [PATCH v3 06/16] drm/i2c: remove unneeded -Iinclude/drm compiler flag
@ 2017-05-18  5:25     ` Archit Taneja
  0 siblings, 0 replies; 25+ messages in thread
From: Archit Taneja @ 2017-05-18  5:25 UTC (permalink / raw)
  To: Masahiro Yamada, dri-devel, Daniel Vetter; +Cc: linux-kernel



On 05/18/2017 09:59 AM, Masahiro Yamada wrote:
> With the include directives under include/drm/ fixed, this flag is
> no longer needed.

Acked-by: Archit Taneja <architt@codeaurora.org>

>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> Changes in v3: None
>
>  drivers/gpu/drm/i2c/Makefile | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i2c/Makefile b/drivers/gpu/drm/i2c/Makefile
> index 43aa33b..a77acfc 100644
> --- a/drivers/gpu/drm/i2c/Makefile
> +++ b/drivers/gpu/drm/i2c/Makefile
> @@ -1,5 +1,3 @@
> -ccflags-y := -Iinclude/drm
> -
>  ch7006-y := ch7006_drv.o ch7006_mode.o
>  obj-$(CONFIG_DRM_I2C_CH7006) += ch7006.o
>
>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH v3 12/16] drm/stm: remove unneeded -Iinclude/drm compiler flag
  2017-05-18  4:29 ` [PATCH v3 12/16] drm/stm: " Masahiro Yamada
@ 2017-05-22  7:37     ` Daniel Vetter
  0 siblings, 0 replies; 25+ messages in thread
From: Daniel Vetter @ 2017-05-22  7:37 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: dri-devel, Daniel Vetter, linux-kernel, Philippe Cornu, Yannick Fertre

On Thu, May 18, 2017 at 01:29:49PM +0900, Masahiro Yamada wrote:
> With the include directives under include/drm/ fixed, this flag is
> no longer needed.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Ok, this and patch 1 applied, pls double-check I've done the right thing
and it's all good now (well, once linux-next has rebuild with the 2
patches merged, which should be in 1-2 days at most).

Thanks, Daniel

> ---
> 
> Changes in v3: None
> 
>  drivers/gpu/drm/stm/Makefile | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/stm/Makefile b/drivers/gpu/drm/stm/Makefile
> index e114d45..a09ecf4 100644
> --- a/drivers/gpu/drm/stm/Makefile
> +++ b/drivers/gpu/drm/stm/Makefile
> @@ -1,5 +1,3 @@
> -ccflags-y := -Iinclude/drm
> -
>  stm-drm-y := \
>  	drv.o \
>  	ltdc.o
> -- 
> 2.7.4
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

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

* Re: [PATCH v3 12/16] drm/stm: remove unneeded -Iinclude/drm compiler flag
@ 2017-05-22  7:37     ` Daniel Vetter
  0 siblings, 0 replies; 25+ messages in thread
From: Daniel Vetter @ 2017-05-22  7:37 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Yannick Fertre, Daniel Vetter, linux-kernel, dri-devel, Philippe Cornu

On Thu, May 18, 2017 at 01:29:49PM +0900, Masahiro Yamada wrote:
> With the include directives under include/drm/ fixed, this flag is
> no longer needed.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Ok, this and patch 1 applied, pls double-check I've done the right thing
and it's all good now (well, once linux-next has rebuild with the 2
patches merged, which should be in 1-2 days at most).

Thanks, Daniel

> ---
> 
> Changes in v3: None
> 
>  drivers/gpu/drm/stm/Makefile | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/stm/Makefile b/drivers/gpu/drm/stm/Makefile
> index e114d45..a09ecf4 100644
> --- a/drivers/gpu/drm/stm/Makefile
> +++ b/drivers/gpu/drm/stm/Makefile
> @@ -1,5 +1,3 @@
> -ccflags-y := -Iinclude/drm
> -
>  stm-drm-y := \
>  	drv.o \
>  	ltdc.o
> -- 
> 2.7.4
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* Re: [PATCH v3 12/16] drm/stm: remove unneeded -Iinclude/drm compiler flag
  2017-05-22  7:37     ` Daniel Vetter
  (?)
@ 2017-05-22  7:48     ` Masahiro Yamada
  -1 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-22  7:48 UTC (permalink / raw)
  To: Masahiro Yamada, dri-devel, Daniel Vetter,
	Linux Kernel Mailing List, Philippe Cornu, Yannick Fertre

Hi Daniel,

2017-05-22 16:37 GMT+09:00 Daniel Vetter <daniel@ffwll.ch>:
> On Thu, May 18, 2017 at 01:29:49PM +0900, Masahiro Yamada wrote:
>> With the include directives under include/drm/ fixed, this flag is
>> no longer needed.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>
> Ok, this and patch 1 applied, pls double-check I've done the right thing
> and it's all good now (well, once linux-next has rebuild with the 2
> patches merged, which should be in 1-2 days at most).
>
> Thanks, Daniel

Looks good.  Thanks!



-- 
Best Regards
Masahiro Yamada

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

* [PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile
@ 2017-05-18  4:29 Masahiro Yamada
  0 siblings, 0 replies; 25+ messages in thread
From: Masahiro Yamada @ 2017-05-18  4:29 UTC (permalink / raw)
  To: dri-devel, Daniel Vetter
  Cc: Archit Taneja, VMware Graphics, Eric Anholt, David Airlie,
	Daniel Vetter, Thomas Hellstrom, Sinclair Yeh, linux-kernel,
	Jani Nikula, Philippe Cornu, Yannick Fertre, Masahiro Yamada,
	Tomi Valkeinen, Sean Paul, Patrik Jakobsson, Dave Airlie,
	Zach Reizner, Chris Wilson, virtualization


Many Makefiles needed to add -Iinclude/drm as an include path,
but the right thing to do is to include headers in the form
  #include <drm/.../*.h>

This series fixes the source files, then rip off -Iinclude/drm flags.

V3: rebased on commit bb2af9bda33 (drm-misc-next)


Masahiro Yamada (16):
  drm/vc4: fix include notation and remove -Iinclude/drm flag
  drm/virtio: fix include notation and remove -Iinclude/drm flag
  drm/vmwgfx: fix include notation and remove -Iinclude/drm flag
  drm/gma500: remove unneeded -Iinclude/drm compiler flag
  drm/i810: remove unneeded -Iinclude/drm compiler flag
  drm/i2c: remove unneeded -Iinclude/drm compiler flag
  drm/mga: remove unneeded -Iinclude/drm compiler flag
  drm/omap: remove unneeded -Iinclude/drm compiler flag
  drm/r128: remove unneeded -Iinclude/drm compiler flag
  drm/savage: remove unneeded -Iinclude/drm compiler flag
  drm/sis: remove unneeded -Iinclude/drm compiler flag
  drm/stm: remove unneeded -Iinclude/drm compiler flag
  drm/tdfx: remove unneeded -Iinclude/drm compiler flag
  drm/udl: remove unneeded -Iinclude/drm compiler flag
  drm/vgem: remove unneeded -Iinclude/drm compiler flag
  drm/via: remove unneeded -Iinclude/drm compiler flag

 drivers/gpu/drm/gma500/Makefile          |  1 -
 drivers/gpu/drm/i2c/Makefile             |  2 --
 drivers/gpu/drm/i810/Makefile            |  1 -
 drivers/gpu/drm/mga/Makefile             |  1 -
 drivers/gpu/drm/omapdrm/Makefile         |  1 -
 drivers/gpu/drm/r128/Makefile            |  1 -
 drivers/gpu/drm/savage/Makefile          |  1 -
 drivers/gpu/drm/sis/Makefile             |  1 -
 drivers/gpu/drm/stm/Makefile             |  2 --
 drivers/gpu/drm/tdfx/Makefile            |  1 -
 drivers/gpu/drm/udl/Makefile             |  3 ---
 drivers/gpu/drm/vc4/Makefile             |  2 --
 drivers/gpu/drm/vc4/vc4_crtc.c           | 14 +++++++-------
 drivers/gpu/drm/vc4/vc4_dpi.c            | 16 ++++++++--------
 drivers/gpu/drm/vc4/vc4_drv.c            |  2 +-
 drivers/gpu/drm/vc4/vc4_drv.h            |  6 ++----
 drivers/gpu/drm/vc4/vc4_dsi.c            | 28 ++++++++++++++--------------
 drivers/gpu/drm/vc4/vc4_hdmi.c           | 30 +++++++++++++++---------------
 drivers/gpu/drm/vc4/vc4_hvs.c            |  2 +-
 drivers/gpu/drm/vc4/vc4_kms.c            | 12 ++++++------
 drivers/gpu/drm/vc4/vc4_plane.c          |  9 +++++----
 drivers/gpu/drm/vc4/vc4_v3d.c            |  6 +++---
 drivers/gpu/drm/vgem/Makefile            |  1 -
 drivers/gpu/drm/via/Makefile             |  1 -
 drivers/gpu/drm/virtio/Makefile          |  2 --
 drivers/gpu/drm/virtio/virtgpu_debugfs.c |  2 +-
 drivers/gpu/drm/virtio/virtgpu_drv.c     |  4 ++--
 drivers/gpu/drm/virtio/virtgpu_drv.h     |  8 ++++----
 drivers/gpu/drm/virtio/virtgpu_ioctl.c   |  5 +++--
 drivers/gpu/drm/virtio/virtgpu_ttm.c     | 10 +++++-----
 drivers/gpu/drm/vmwgfx/Makefile          |  3 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c   |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c  |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c  |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c      |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c   |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  |  3 ++-
 37 files changed, 88 insertions(+), 107 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-05-22  7:48 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-18  4:29 [PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile Masahiro Yamada
2017-05-18  4:29 ` Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 01/16] drm/vc4: fix include notation and remove -Iinclude/drm flag Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 02/16] drm/virtio: " Masahiro Yamada
2017-05-18  4:29 ` Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 03/16] drm/vmwgfx: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 04/16] drm/gma500: remove unneeded -Iinclude/drm compiler flag Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 05/16] drm/i810: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 06/16] drm/i2c: " Masahiro Yamada
2017-05-18  5:25   ` Archit Taneja
2017-05-18  5:25     ` Archit Taneja
2017-05-18  4:29 ` [PATCH v3 07/16] drm/mga: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 08/16] drm/omap: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 09/16] drm/r128: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 10/16] drm/savage: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 11/16] drm/sis: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 12/16] drm/stm: " Masahiro Yamada
2017-05-22  7:37   ` Daniel Vetter
2017-05-22  7:37     ` Daniel Vetter
2017-05-22  7:48     ` Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 13/16] drm/tdfx: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 14/16] drm/udl: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 15/16] drm/vgem: " Masahiro Yamada
2017-05-18  4:29 ` [PATCH v3 16/16] drm/via: " Masahiro Yamada
2017-05-18  4:29 [PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile Masahiro Yamada

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.