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.


Masahiro Yamada (28):
  drm/ttm: fix include notation and remove -Iinclude/drm flag
  drm/amd: fix include notation and remove -Iinclude/drm flag
  drm/ast: fix include notation and remove -Iinclude/drm flag
  drm/bochs: fix include notation and remove -Iinclude/drm flag
  drm/bridge: fix include notation and remove -Iinclude/drm flag
  drm/cirrus: fix include notation and remove -Iinclude/drm flag
  drm/hisilicon: fix include notation and remove -Iinclude/drm flag
  drm/mgag200: fix include notation and remove -Iinclude/drm flag
  drm/msm: fix include notation and remove -Iinclude/drm flag
  drm/nouveau: fix include notation and remove -Iinclude/drm flag
  drm/qxl: fix include notation and remove -Iinclude/drm flag
  drm/radeon: fix include notation and remove -Iinclude/drm flag
  drm/tilcdc: fix include notation and remove -Iinclude/drm flag
  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/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/amd/amdgpu/Makefile              |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h              | 10 ++++-----
 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c          |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c          |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c          |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c          | 10 ++++-----
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c              |  2 +-
 drivers/gpu/drm/amd/amdgpu/ci_smc.c              |  2 +-
 drivers/gpu/drm/amd/amdgpu/cik.c                 |  2 +-
 drivers/gpu/drm/amd/amdgpu/cik_ih.c              |  2 +-
 drivers/gpu/drm/amd/amdgpu/cz_ih.c               |  2 +-
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c           |  2 +-
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c           |  2 +-
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/dce_virtual.c         |  2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/iceland_ih.c          |  2 +-
 drivers/gpu/drm/amd/amdgpu/kv_dpm.c              |  2 +-
 drivers/gpu/drm/amd/amdgpu/kv_smc.c              |  2 +-
 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/si.c                  |  2 +-
 drivers/gpu/drm/amd/amdgpu/si_dpm.c              |  2 +-
 drivers/gpu/drm/amd/amdgpu/si_ih.c               |  2 +-
 drivers/gpu/drm/amd/amdgpu/si_smc.c              |  2 +-
 drivers/gpu/drm/amd/amdgpu/soc15.c               |  2 +-
 drivers/gpu/drm/amd/amdgpu/tonga_ih.c            |  2 +-
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c           |  2 +-
 drivers/gpu/drm/amd/amdgpu/vi.c                  |  2 +-
 drivers/gpu/drm/amd/amdkfd/Makefile              |  2 +-
 drivers/gpu/drm/amd/powerplay/Makefile           |  2 +-
 drivers/gpu/drm/ast/Makefile                     |  2 --
 drivers/gpu/drm/ast/ast_ttm.c                    |  2 +-
 drivers/gpu/drm/bochs/Makefile                   |  1 -
 drivers/gpu/drm/bochs/bochs.h                    |  4 ++--
 drivers/gpu/drm/bridge/Makefile                  |  2 --
 drivers/gpu/drm/bridge/nxp-ptn3460.c             | 10 ++++-----
 drivers/gpu/drm/bridge/parade-ps8622.c           |  8 +++----
 drivers/gpu/drm/cirrus/Makefile                  |  1 -
 drivers/gpu/drm/cirrus/cirrus_ttm.c              |  2 +-
 drivers/gpu/drm/gma500/Makefile                  |  1 -
 drivers/gpu/drm/hisilicon/hibmc/Makefile         |  1 -
 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c      |  2 +-
 drivers/gpu/drm/i2c/Makefile                     |  2 --
 drivers/gpu/drm/i810/Makefile                    |  1 -
 drivers/gpu/drm/mga/Makefile                     |  1 -
 drivers/gpu/drm/mgag200/Makefile                 |  1 -
 drivers/gpu/drm/mgag200/mgag200_ttm.c            |  2 +-
 drivers/gpu/drm/msm/Makefile                     |  2 +-
 drivers/gpu/drm/msm/dsi/dsi.h                    |  6 ++---
 drivers/gpu/drm/msm/edp/edp.h                    |  4 ++--
 drivers/gpu/drm/msm/edp/edp_ctrl.c               |  6 ++---
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c         |  6 ++---
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_dsi_encoder.c  |  4 ++--
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_dtv_encoder.c  |  4 ++--
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h          |  2 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_lcdc_encoder.c |  4 ++--
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c  |  4 ++--
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c         |  6 ++---
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder.c      |  4 ++--
 drivers/gpu/drm/msm/msm_fb.c                     |  4 ++--
 drivers/gpu/drm/msm/msm_fbdev.c                  |  4 ++--
 drivers/gpu/drm/nouveau/Kbuild                   |  1 -
 drivers/gpu/drm/nouveau/nouveau_drm.c            |  4 ++--
 drivers/gpu/drm/nouveau/nouveau_drv.h            |  2 +-
 drivers/gpu/drm/nouveau/nouveau_ttm.c            |  2 +-
 drivers/gpu/drm/omapdrm/Makefile                 |  1 -
 drivers/gpu/drm/qxl/Makefile                     |  2 --
 drivers/gpu/drm/qxl/qxl_debugfs.c                |  2 +-
 drivers/gpu/drm/qxl/qxl_display.c                |  2 +-
 drivers/gpu/drm/qxl/qxl_drv.c                    |  6 ++---
 drivers/gpu/drm/qxl/qxl_drv.h                    | 14 ++++++------
 drivers/gpu/drm/qxl/qxl_fb.c                     | 11 +++++-----
 drivers/gpu/drm/qxl/qxl_gem.c                    |  5 +++--
 drivers/gpu/drm/qxl/qxl_ttm.c                    | 10 ++++-----
 drivers/gpu/drm/r128/Makefile                    |  1 -
 drivers/gpu/drm/radeon/Makefile                  |  2 +-
 drivers/gpu/drm/radeon/btc_dpm.c                 |  2 +-
 drivers/gpu/drm/radeon/ci_dpm.c                  |  2 +-
 drivers/gpu/drm/radeon/ci_smc.c                  |  2 +-
 drivers/gpu/drm/radeon/cik.c                     |  2 +-
 drivers/gpu/drm/radeon/cypress_dpm.c             |  2 +-
 drivers/gpu/drm/radeon/kv_dpm.c                  |  2 +-
 drivers/gpu/drm/radeon/kv_smc.c                  |  2 +-
 drivers/gpu/drm/radeon/ni_dpm.c                  |  2 +-
 drivers/gpu/drm/radeon/r600_dpm.c                |  2 +-
 drivers/gpu/drm/radeon/radeon.h                  | 10 ++++-----
 drivers/gpu/drm/radeon/radeon_drv.c              |  2 +-
 drivers/gpu/drm/radeon/radeon_ttm.c              | 10 ++++-----
 drivers/gpu/drm/radeon/rs780_dpm.c               |  2 +-
 drivers/gpu/drm/radeon/rv6xx_dpm.c               |  2 +-
 drivers/gpu/drm/radeon/rv730_dpm.c               |  2 +-
 drivers/gpu/drm/radeon/rv740_dpm.c               |  2 +-
 drivers/gpu/drm/radeon/rv770_dpm.c               |  2 +-
 drivers/gpu/drm/radeon/rv770_smc.c               |  2 +-
 drivers/gpu/drm/radeon/si_dpm.c                  |  2 +-
 drivers/gpu/drm/radeon/si_smc.c                  |  2 +-
 drivers/gpu/drm/radeon/sumo_dpm.c                |  2 +-
 drivers/gpu/drm/radeon/sumo_smc.c                |  2 +-
 drivers/gpu/drm/radeon/trinity_dpm.c             |  2 +-
 drivers/gpu/drm/radeon/trinity_smc.c             |  2 +-
 drivers/gpu/drm/savage/Makefile                  |  1 -
 drivers/gpu/drm/sis/Makefile                     |  1 -
 drivers/gpu/drm/tdfx/Makefile                    |  1 -
 drivers/gpu/drm/tilcdc/Makefile                  |  1 -
 drivers/gpu/drm/tilcdc/tilcdc_drv.c              |  2 +-
 drivers/gpu/drm/ttm/Makefile                     |  1 -
 drivers/gpu/drm/ttm/ttm_bo_vm.c                  |  6 ++---
 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                    |  4 ++--
 drivers/gpu/drm/vc4/vc4_dsi.c                    | 28 ++++++++++++------------
 drivers/gpu/drm/vc4/vc4_hdmi.c                   | 20 ++++++++---------
 drivers/gpu/drm/vc4/vc4_hvs.c                    |  2 +-
 drivers/gpu/drm/vc4/vc4_kms.c                    | 12 +++++-----
 drivers/gpu/drm/vc4/vc4_plane.c                  |  8 +++----
 drivers/gpu/drm/vc4/vc4_v3d.c                    |  4 ++--
 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           |  2 +-
 drivers/gpu/drm/virtio/virtgpu_ttm.c             | 10 ++++-----
 drivers/gpu/drm/vmwgfx/Makefile                  |  3 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c           |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c          |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c          |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c              |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c           |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c          |  2 +-
 include/drm/ttm/ttm_bo_driver.h                  |  8 +++----
 include/drm/ttm/ttm_execbuf_util.h               |  2 +-
 include/drm/ttm/ttm_lock.h                       |  2 +-
 include/drm/ttm/ttm_object.h                     |  2 +-
 144 files changed, 237 insertions(+), 270 deletions(-)

-- 
2.7.4

Reply via email to