drm/exynos: remove exynos_drm_plane.h header
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 7 Dec 2018 12:00:04 +0000 (13:00 +0100)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 20 Mar 2019 11:48:11 +0000 (12:48 +0100)
The header contains only declaration of one function, the rest of exynos
plane declaration is in exynos_drm_drv.h.
Let's merge it together.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
drivers/gpu/drm/exynos/exynos7_drm_decon.c
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_drv.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_plane.c
drivers/gpu/drm/exynos/exynos_drm_plane.h [deleted file]
drivers/gpu/drm/exynos/exynos_drm_vidi.c
drivers/gpu/drm/exynos/exynos_mixer.c

index bdfec5f977e9b8484cbdf4587ee507e97e6d4240..24df0b307b2ffd0b3287f1b97139282cc498d66a 100644 (file)
@@ -24,7 +24,6 @@
 #include "exynos_drm_drv.h"
 #include "exynos_drm_crtc.h"
 #include "exynos_drm_fb.h"
-#include "exynos_drm_plane.h"
 #include "regs-decon5433.h"
 
 #define DSD_CFG_MUX 0x1004
index 381aa3d60e37a86d7bc0be1c4a8737ace9098498..812941b842878e7376eafe60d1274ebb0b658c01 100644 (file)
@@ -27,7 +27,6 @@
 #include <video/of_videomode.h>
 
 #include "exynos_drm_crtc.h"
-#include "exynos_drm_plane.h"
 #include "exynos_drm_drv.h"
 #include "exynos_drm_fb.h"
 #include "regs-decon7.h"
index 96ee83a798c4cffd3f984e12f72cc91abecfd740..1eebfa3fa8dad707fdbc68245a40966051d901dc 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "exynos_drm_crtc.h"
 #include "exynos_drm_drv.h"
-#include "exynos_drm_plane.h"
 
 static void exynos_drm_crtc_atomic_enable(struct drm_crtc *crtc,
                                          struct drm_crtc_state *old_state)
index e1ef9dc9ebf3f13e07f8a3c0be0bcfdf94e4a01f..2155586646dc3d046ba65cd23b702c7bfb54bb79 100644 (file)
@@ -26,7 +26,6 @@
 #include "exynos_drm_fbdev.h"
 #include "exynos_drm_fb.h"
 #include "exynos_drm_gem.h"
-#include "exynos_drm_plane.h"
 #include "exynos_drm_ipp.h"
 #include "exynos_drm_vidi.h"
 #include "exynos_drm_g2d.h"
index 71eb240bc1f4f7d7c7dc1ab342cf03216ef98a44..6e38d0dc445707f95bd6cb934566e2c5ea59f3b3 100644 (file)
@@ -113,6 +113,10 @@ struct exynos_drm_plane_config {
        unsigned int capabilities;
 };
 
+int exynos_plane_init(struct drm_device *dev,
+                     struct exynos_drm_plane *exynos_plane, unsigned int index,
+                     const struct exynos_drm_plane_config *config);
+
 /*
  * Exynos drm crtc ops
  *
index 46588a14f0c3c446fa8c4cc2e29e288c9bc808fd..b1a9502a4140cb214a720acc7fad74e99555d2db 100644 (file)
@@ -31,7 +31,6 @@
 #include "exynos_drm_drv.h"
 #include "exynos_drm_fb.h"
 #include "exynos_drm_crtc.h"
-#include "exynos_drm_plane.h"
 
 /*
  * FIMD stands for Fully Interactive Mobile Display and
index df0508e0e49e0e4f7b60c08dfc0230b50f8a5740..8af0eba3f3625fb8d21ba7625a6894623ccc32b4 100644 (file)
@@ -19,7 +19,6 @@
 #include "exynos_drm_crtc.h"
 #include "exynos_drm_fb.h"
 #include "exynos_drm_gem.h"
-#include "exynos_drm_plane.h"
 
 /*
  * This function is to get X or Y size shown via screen. This needs length and
diff --git a/drivers/gpu/drm/exynos/exynos_drm_plane.h b/drivers/gpu/drm/exynos/exynos_drm_plane.h
deleted file mode 100644 (file)
index 497047b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright (C) 2011 Samsung Electronics Co.Ltd
- * Authors: Joonyoung Shim <jy0922.shim@samsung.com>
- *
- * This program is free software; you can redistribute  it and/or modify it
- * under  the terms of  the GNU General  Public License as published by the
- * Free Software Foundation;  either version 2 of the  License, or (at your
- * option) any later version.
- *
- */
-
-int exynos_plane_init(struct drm_device *dev,
-                     struct exynos_drm_plane *exynos_plane, unsigned int index,
-                     const struct exynos_drm_plane_config *config);
index 29f4c1932aedb572cecf5e92e6775d151a98d77c..ec30d5aca9aa969a9c49c8af918b17c53105fdca 100644 (file)
@@ -26,7 +26,6 @@
 #include "exynos_drm_drv.h"
 #include "exynos_drm_crtc.h"
 #include "exynos_drm_fb.h"
-#include "exynos_drm_plane.h"
 #include "exynos_drm_vidi.h"
 
 /* VIDI uses fixed refresh rate of 50Hz */
index 0573eab0e190f6d76d0e970a9b0b37c67c6dfe3a..1faa67fa7e5c6ddd5d349624e028098ffcf0979d 100644 (file)
@@ -39,7 +39,6 @@
 #include "exynos_drm_drv.h"
 #include "exynos_drm_crtc.h"
 #include "exynos_drm_fb.h"
-#include "exynos_drm_plane.h"
 
 #define MIXER_WIN_NR           3
 #define VP_DEFAULT_WIN         2