diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2019-06-09 18:07:55 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2019-06-10 17:00:20 -0400 |
commit | 09d21852a6f3bd8f96c0eb2d7bd9a3b8706f8bcd (patch) | |
tree | 6a34cfc810c01f1c159c4e898c6c144bdac40640 | |
parent | 9fdd91aa8cf43043690a41589e75359b4d837b92 (diff) |
drm/amd: drop use of drmP.h in display/
Drop all uses of drmP.h in drm/amd/display/.
Fix fallout.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190609220757.10862-9-sam@ravnborg.org
5 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 443b13ec268d..3a723e553a19 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |||
@@ -53,15 +53,17 @@ | |||
53 | #include <linux/version.h> | 53 | #include <linux/version.h> |
54 | #include <linux/types.h> | 54 | #include <linux/types.h> |
55 | #include <linux/pm_runtime.h> | 55 | #include <linux/pm_runtime.h> |
56 | #include <linux/pci.h> | ||
56 | #include <linux/firmware.h> | 57 | #include <linux/firmware.h> |
57 | 58 | ||
58 | #include <drm/drmP.h> | ||
59 | #include <drm/drm_atomic.h> | 59 | #include <drm/drm_atomic.h> |
60 | #include <drm/drm_atomic_uapi.h> | 60 | #include <drm/drm_atomic_uapi.h> |
61 | #include <drm/drm_atomic_helper.h> | 61 | #include <drm/drm_atomic_helper.h> |
62 | #include <drm/drm_dp_mst_helper.h> | 62 | #include <drm/drm_dp_mst_helper.h> |
63 | #include <drm/drm_fb_helper.h> | 63 | #include <drm/drm_fb_helper.h> |
64 | #include <drm/drm_fourcc.h> | ||
64 | #include <drm/drm_edid.h> | 65 | #include <drm/drm_edid.h> |
66 | #include <drm/drm_vblank.h> | ||
65 | 67 | ||
66 | #if defined(CONFIG_DRM_AMD_DC_DCN1_0) | 68 | #if defined(CONFIG_DRM_AMD_DC_DCN1_0) |
67 | #include "ivsrcid/irqsrcs_dcn_1_0.h" | 69 | #include "ivsrcid/irqsrcs_dcn_1_0.h" |
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c index e6cd67342df8..97b2c3b16bef 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/version.h> | 28 | #include <linux/version.h> |
29 | #include <linux/i2c.h> | 29 | #include <linux/i2c.h> |
30 | 30 | ||
31 | #include <drm/drmP.h> | ||
32 | #include <drm/drm_probe_helper.h> | 31 | #include <drm/drm_probe_helper.h> |
33 | #include <drm/amdgpu_drm.h> | 32 | #include <drm/amdgpu_drm.h> |
34 | #include <drm/drm_edid.h> | 33 | #include <drm/drm_edid.h> |
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c index fd22b4474dbf..1b59d3d42f7b 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | |||
@@ -23,8 +23,6 @@ | |||
23 | * | 23 | * |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <drm/drmP.h> | ||
27 | |||
28 | #include "dm_services_types.h" | 26 | #include "dm_services_types.h" |
29 | #include "dc.h" | 27 | #include "dc.h" |
30 | 28 | ||
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c index 350e7a620d45..b37e8c9653e1 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/string.h> | 24 | #include <linux/string.h> |
25 | #include <linux/acpi.h> | 25 | #include <linux/acpi.h> |
26 | 26 | ||
27 | #include <drm/drmP.h> | ||
28 | #include <drm/drm_probe_helper.h> | 27 | #include <drm/drm_probe_helper.h> |
29 | #include <drm/amdgpu_drm.h> | 28 | #include <drm/amdgpu_drm.h> |
30 | #include "dm_services.h" | 29 | #include "dm_services.h" |
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c index d915e8c8769b..022da5d45d4d 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/string.h> | 26 | #include <linux/string.h> |
27 | #include <linux/acpi.h> | 27 | #include <linux/acpi.h> |
28 | 28 | ||
29 | #include <drm/drmP.h> | ||
30 | #include <drm/drm_probe_helper.h> | 29 | #include <drm/drm_probe_helper.h> |
31 | #include <drm/amdgpu_drm.h> | 30 | #include <drm/amdgpu_drm.h> |
32 | #include "dm_services.h" | 31 | #include "dm_services.h" |