drm/i915: drop all drmP.h includes
authorJani Nikula <jani.nikula@intel.com>
Tue, 8 Jan 2019 08:27:09 +0000 (10:27 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 9 Jan 2019 08:26:36 +0000 (10:26 +0200)
Needs just a few additional includes here and there.

Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190108082709.3748-1-jani.nikula@intel.com
51 files changed:
drivers/gpu/drm/i915/dvo.h
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_dmabuf.c
drivers/gpu/drm/i915/i915_gem_evict.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_gem_fence_reg.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_internal.c
drivers/gpu/drm/i915/i915_gem_object.h
drivers/gpu/drm/i915/i915_gem_shrinker.c
drivers/gpu/drm/i915/i915_gem_stolen.c
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/i915_gem_userptr.c
drivers/gpu/drm/i915/i915_ioc32.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/i915_trace.h
drivers/gpu/drm/i915/intel_acpi.c
drivers/gpu/drm/i915/intel_atomic.c
drivers/gpu/drm/i915/intel_atomic_plane.c
drivers/gpu/drm/i915/intel_audio.c
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_connector.c
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_dp_mst.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_vbt.c
drivers/gpu/drm/i915/intel_dvo.c
drivers/gpu/drm/i915/intel_fbdev.c
drivers/gpu/drm/i915/intel_frontbuffer.c
drivers/gpu/drm/i915/intel_hdcp.c
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_hotplug.c
drivers/gpu/drm/i915/intel_i2c.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_mocs.h
drivers/gpu/drm/i915/intel_opregion.c
drivers/gpu/drm/i915/intel_overlay.c
drivers/gpu/drm/i915/intel_psr.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_sprite.c
drivers/gpu/drm/i915/intel_tv.c
drivers/gpu/drm/i915/intel_vdsc.c
drivers/gpu/drm/i915/vlv_dsi.c

index 5e6a3013da49645ebf6ea0b1487fc383fc43d3b1..16e0345b711fb3cc782125aa418e804d2e09ab50 100644 (file)
@@ -24,7 +24,6 @@
 #define _INTEL_DVO_H
 
 #include <linux/i2c.h>
-#include <drm/drmP.h>
 #include <drm/drm_crtc.h>
 #include "intel_drv.h"
 
index 17fca3ba343ea413de2f650f33efe912c35e7be8..75652dc1e24cde6ce500e45cf0e50793917c4b78 100644 (file)
@@ -41,7 +41,6 @@
 #include <linux/vt.h>
 #include <acpi/video.h>
 
-#include <drm/drmP.h>
 #include <drm/drm_crtc_helper.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/i915_drm.h>
index 17a017645c5d0576bf8fe257fc3c7e53eeeea7e6..6f341822653c6bc7f679549b9f406c781cf15fb6 100644 (file)
@@ -46,7 +46,6 @@
 #include <linux/reservation.h>
 #include <linux/shmem_fs.h>
 
-#include <drm/drmP.h>
 #include <drm/intel-gtt.h>
 #include <drm/drm_legacy.h> /* for struct drm_dma_handle */
 #include <drm/drm_gem.h>
@@ -54,6 +53,7 @@
 #include <drm/drm_cache.h>
 #include <drm/drm_util.h>
 #include <drm/drm_dsc.h>
+#include <drm/drm_connector.h>
 
 #include "i915_fixed.h"
 #include "i915_params.h"
index 57fe90d49df3b606f9aeaaa1d418b708e5b050b3..74710e5d946e8886b36dec357c90ddf5c4f50b40 100644 (file)
@@ -25,7 +25,6 @@
  *
  */
 
-#include <drm/drmP.h>
 #include <drm/drm_vma_manager.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
index 014152e2bc6811938710e76593a3325fbdc02e43..b68b4345d7be0d4ed50cdf0783b0c39a78ef1470 100644 (file)
@@ -86,7 +86,6 @@
  */
 
 #include <linux/log2.h>
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 #include "i915_trace.h"
index 82e2ca17a441eed4c9f562b9d9ee9aa45f2e740a..02f7298bfe57cda5ad1d344adb0ff99079267c00 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/dma-buf.h>
 #include <linux/reservation.h>
 
-#include <drm/drmP.h>
 
 #include "i915_drv.h"
 
index 02b83a5ed96c9ec7b539bec4bdc88ed3ac1946cd..f6855401f24714b56356f0512c32be3c61a0ba5b 100644 (file)
@@ -26,7 +26,6 @@
  *
  */
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 
 #include "i915_drv.h"
index 5b7cd7add63e6c4dff5b07ab5639b5c29fe5face..e7994505d850c961eaa1298782262ce3437eb0d3 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/sync_file.h>
 #include <linux/uaccess.h>
 
-#include <drm/drmP.h>
 #include <drm/drm_syncobj.h>
 #include <drm/i915_drm.h>
 
index 24df2e2a8fc1f0cd1dd52044a26719b15f42e83a..d67c07cdd0b882b5f02d55d854a83d249780b4e5 100644 (file)
@@ -21,7 +21,6 @@
  * IN THE SOFTWARE.
  */
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 
index 5cc8968eb3bf7a044add543c6f1079702d9312f3..a8807fbed0aa1585e5c0ac354c56f45bf47966b9 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <asm/set_memory.h>
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 
 #include "i915_drv.h"
index 0d0144b2104cb3264b2048a1569bc598fde532f3..fddde1033e747ee65f0914114975f9d8d29c88de 100644 (file)
@@ -22,7 +22,6 @@
  *
  */
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 
index a6dd7c46de0dddb4a8f2c09a21651ac1c1a8cb21..ff3da64470ddaded4a86c99570e5b9063cfac658 100644 (file)
@@ -29,7 +29,8 @@
 
 #include <drm/drm_vma_manager.h>
 #include <drm/drm_gem.h>
-#include <drm/drmP.h>
+#include <drm/drm_file.h>
+#include <drm/drm_device.h>
 
 #include <drm/i915_drm.h>
 
index 72d6ea0cac7e0716174ebda10bb1badd259cc187..34b108f73f1d635e6ba8c0f06116d229c9e93e55 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/pci.h>
 #include <linux/dma-buf.h>
 #include <linux/vmalloc.h>
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 
 #include "i915_drv.h"
index 2f756a97689acca0e172fd30be4428f762404437..9df615eea2d8798c97cef5920023d4b99e0e7691 100644 (file)
@@ -26,7 +26,6 @@
  *
  */
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 
index 39319ff1679c4a93b2e08f9c813f7fd42f8569b6..16cc9ddbce34ae8e97e59838c2e687af6a0f52f9 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <linux/string.h>
 #include <linux/bitops.h>
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 
index 9558582c105ec4953ba0616b23966000a095cfab..1fb6a7bb505445b1e1e61d47d21cd4a58cc2cf8f 100644 (file)
@@ -22,7 +22,6 @@
  *
  */
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 #include "i915_trace.h"
index e869daf9c8a9e0c21f409506ab60240f76bd95c7..73c3e8f519e8fbfa463a4c830c28a86638eb8710 100644 (file)
@@ -28,7 +28,6 @@
  */
 #include <linux/compat.h>
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 
index fbb094ecf6c9c08f392a608e980978d114405d16..3fcb3aad2e543fc40893d6a700b4847a3085f96f 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/sysrq.h>
 #include <linux/slab.h>
 #include <linux/circ_buf.h>
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 #include "i915_trace.h"
index f40ba5e429e0926cac2d7abcaadbffc3174af62d..f18afa2bac8d87efa40fe2187d45aff240462a8b 100644 (file)
@@ -24,7 +24,6 @@
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "intel_drv.h"
 #include "i915_reg.h"
index 5cf378936b05c62fcaaaf3112cb7291a053287d0..33d90eca9cdd18e1422614348df8d24e07ccca6c 100644 (file)
@@ -6,7 +6,6 @@
 #include <linux/types.h>
 #include <linux/tracepoint.h>
 
-#include <drm/drmP.h>
 #include "i915_drv.h"
 #include "intel_drv.h"
 #include "intel_ringbuffer.h"
index 6ba478e57b9bc51f9cebab5f6e00ad442ea8c13a..9d142d038a7d3631ac927280e549528e86756db5 100644 (file)
@@ -6,7 +6,6 @@
  */
 #include <linux/pci.h>
 #include <linux/acpi.h>
-#include <drm/drmP.h>
 #include "i915_drv.h"
 
 #define INTEL_DSM_REVISION_ID 1 /* For Calpella anyway... */
index fdfc7425e64472d478f0a6d88ae3b8bc4b31d153..d8dbc9980281521973ceae05928430333e0c070e 100644 (file)
@@ -29,7 +29,6 @@
  * See intel_atomic_plane.c for the plane-specific atomic functionality.
  */
 
-#include <drm/drmP.h>
 #include <drm/drm_atomic.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_plane_helper.h>
index 0a73e6e65c2030b2f094c5a89f8248cb807a8020..683a75dad4fb4d7d52b89ca2b4cd132e593f42c3 100644 (file)
@@ -31,7 +31,6 @@
  * prepare/check/commit/cleanup steps.
  */
 
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_plane_helper.h>
 #include "intel_drv.h"
index 0571aa2846a7c1605c80d08f51578202044baba4..202a58cf2d9f3016fa740062ab55cf2127b28515 100644 (file)
@@ -27,7 +27,6 @@
 #include <drm/intel_lpe_audio.h>
 #include "intel_drv.h"
 
-#include <drm/drmP.h>
 #include <drm/drm_edid.h>
 #include "i915_drv.h"
 
index 764d84d4109b6e319290eda861bf2edd8b82e4b5..140c218128cbf6ee897684e66f7bc441318e7b09 100644 (file)
@@ -26,7 +26,6 @@
  */
 
 #include <drm/drm_dp_helper.h>
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 
index 18e370f607bcc2e50105c5854b70d61611c22709..4f4ffd1c8fd35f02277a1a4444bad074c0e44574 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/i2c.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_edid.h>
-#include <drm/drmP.h>
 #include "intel_drv.h"
 #include "i915_drv.h"
 
index 0a41e58d61defc5c3deeb94a22b8db9c437b7971..951e9bae6921992a8cfc12fda26b1595690fb250 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/dmi.h>
 #include <linux/i2c.h>
 #include <linux/slab.h>
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_crtc_helper.h>
index 696e6f5680df126a8616ad0b500f60819696671a..1cc441f06c7339c596da3103f1285c41640be0b0 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/slab.h>
 #include <linux/vgaarb.h>
 #include <drm/drm_edid.h>
-#include <drm/drmP.h>
 #include "intel_drv.h"
 #include "intel_frontbuffer.h"
 #include <drm/i915_drm.h>
index 62fd11540942570e627ed4b4fa17254ded51442e..d3cd40e656fe14ac01c1bcf0cf4405893f35480b 100644 (file)
@@ -32,7 +32,6 @@
 #include <linux/notifier.h>
 #include <linux/reboot.h>
 #include <asm/byteorder.h>
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_crtc_helper.h>
index 4de247ddf05f80a89fc4d84aeaf93112c4d468f2..a8d43ad5352c829e0c939c17984ce2d464aa65f9 100644 (file)
@@ -23,7 +23,6 @@
  *
  */
 
-#include <drm/drmP.h>
 #include "i915_drv.h"
 #include "intel_drv.h"
 #include <drm/drm_atomic_helper.h>
index d968f1f13e0923b7793d5ed944bc9a1fc5049c23..fc7a09049f819dbebb9481a943a221f66419388d 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef _INTEL_DSI_H
 #define _INTEL_DSI_H
 
-#include <drm/drmP.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_mipi_dsi.h>
 #include "intel_drv.h"
index 5b7e9118d97ffe16a2a54168bd5c3fcaf3b87022..af7d3db1cc34f136bc8af270f3efa136c69068f2 100644 (file)
@@ -24,7 +24,6 @@
  *
  */
 
-#include <drm/drmP.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_edid.h>
 #include <drm/i915_drm.h>
index 0042a7f69387780f6f1d5c105ca9cae43d41713d..bc3c3cb57ec6993361c6feb563ca4c7cd6c6cf65 100644 (file)
@@ -26,7 +26,6 @@
  */
 #include <linux/i2c.h>
 #include <linux/slab.h>
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include "intel_drv.h"
index fb5bb5b32a6034d152516ae11c15913e2f97597d..a0c5046e170ced44966cc2fdc6797a6dbd214580 100644 (file)
@@ -37,7 +37,6 @@
 #include <linux/init.h>
 #include <linux/vga_switcheroo.h>
 
-#include <drm/drmP.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_fb_helper.h>
 #include "intel_drv.h"
index c3379bde266f12b1d1756733943ddc14b9d628e1..16f253deaf8d559647d2b5e2449761f8369a8a75 100644 (file)
@@ -60,7 +60,6 @@
  * functions is deprecated and should be avoided.
  */
 
-#include <drm/drmP.h>
 
 #include "intel_drv.h"
 #include "intel_frontbuffer.h"
index e000e54ad569dd3768b43c794b29333629cc1a13..3fcb3b7759485e4084298b495e01615a00c1e480 100644 (file)
@@ -6,7 +6,6 @@
  * Sean Paul <seanpaul@chromium.org>
  */
 
-#include <drm/drmP.h>
 #include <drm/drm_hdcp.h>
 #include <linux/i2c.h>
 #include <linux/random.h>
index 07e803a604bddada573810e15eef3c01975a9dd8..14a0c28fe7c12c0158ade16952219b072b92edb0 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/hdmi.h>
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_edid.h>
index e24174d08fedb55ca4619e61cb96570deab6bc52..ae92d6560165ef718216c3bccfb6004c970d3744 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <linux/kernel.h>
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 
 #include "i915_drv.h"
index 802d0394ccc4ad82d92e244cce2109313c84b9a2..c6159aff9dc8d288c8d7b3a1bf7f88bbaa0d35ed 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/i2c.h>
 #include <linux/i2c-algo-bit.h>
 #include <linux/export.h>
-#include <drm/drmP.h>
 #include <drm/drm_hdcp.h>
 #include "intel_drv.h"
 #include <drm/i915_drm.h>
index d81ae121c45e058a72bef706e1bd75e68acf5459..24aaa184d7a7234dd2a29c1e6524cade6a8944d6 100644 (file)
  */
 #include <linux/interrupt.h>
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 #include "i915_gem_render_state.h"
index b85e195f7c8aa5c792f738353b61f69755ce74c6..6adcc8d037bff2a0efa76c50aef1d8f379f49355 100644 (file)
@@ -32,7 +32,6 @@
 #include <linux/i2c.h>
 #include <linux/slab.h>
 #include <linux/vga_switcheroo.h>
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_edid.h>
index d89080d75b80ddfc21285e5ad2def13899430937..3d99d1271b2bc515a0468fc9445a3e98c8f7f919 100644 (file)
@@ -49,7 +49,6 @@
  * context handling keep the MOCS in step.
  */
 
-#include <drm/drmP.h>
 #include "i915_drv.h"
 
 int intel_rcs_context_init_mocs(struct i915_request *rq);
index b8f106d9ecf8b1be6286b2dfaeac1c5188629528..30ae96c5c97cb1caf4911dc85d0fff11dffba92c 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/firmware.h>
 #include <acpi/video.h>
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 
 #include "intel_opregion.h"
index c153be0430788958f50d91a10f09bfd5427eff34..c81db81e4416a11234bd3dbf72b314e9fad2ba1a 100644 (file)
@@ -25,7 +25,6 @@
  *
  * Derived from Xorg ddx, xf86-video-intel, src/i830_video.c
  */
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 #include "i915_reg.h"
index dce39f06b682c17fd1985ba3a9f40fc205dba6f3..0f6b2b4702e38ff135726ec1edc1c693674b5469 100644 (file)
@@ -51,7 +51,6 @@
  * must be correctly synchronized/cancelled when shutting down the pipe."
  */
 
-#include <drm/drmP.h>
 
 #include "intel_drv.h"
 #include "i915_drv.h"
index 6e2661e86d18a8a5315303e9ff7a6b7434190385..26b7274a2d43074926c62accf6496e9b7f846ec1 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <linux/log2.h>
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 
 #include "i915_drv.h"
index 5805ec1aba122495736167c0f66ee86cd5da249d..b08fed11219f56601a4458f4c9924db28deb841d 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/export.h>
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_edid.h>
index f70d2c607902b9cb448b4380b5d5e8b4769b155c..8f3982c03925a63cc51c6202853c94e1aeaaea85 100644 (file)
@@ -29,7 +29,6 @@
  * registers; newer ones are much simpler and we can use the new DRM plane
  * support.
  */
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_fourcc.h>
index 860f306a23bafbda312d63bafb2039ce67b91069..d7a414ce27744db800528bb5b2a5108a6cf6bcbf 100644 (file)
@@ -30,7 +30,6 @@
  * Integrated TV-out support for the 915GM and 945GM.
  */
 
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_edid.h>
index c56ba0e04044aea9bf68ecdd9fabfa4453b3bf64..48537827616fa9a9700e5fad06a0942af1bf9200 100644 (file)
@@ -6,7 +6,6 @@
  *         Manasi Navare <manasi.d.navare@intel.com>
  */
 
-#include <drm/drmP.h>
 #include <drm/i915_drm.h>
 #include "i915_drv.h"
 #include "intel_drv.h"
index 361e962a7969044aba1c8464096edfa493b4d0c7..bb1287020f80abb099a1ad5b50dd239f5c97db71 100644 (file)
@@ -23,7 +23,6 @@
  * Author: Jani Nikula <jani.nikula@intel.com>
  */
 
-#include <drm/drmP.h>
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_edid.h>