aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-02-12 07:13:58 -0500
committerInki Dae <daeinki@gmail.com>2016-03-01 09:37:24 -0500
commitd775acdda980accbaa1fc2895bddf3a13f9713ec (patch)
tree805b322017ab4b9bb5696ce13a740ec7563057da /include/drm
parent3e8a4738f9566a092e7645288f6efa429c98475c (diff)
drm/exynos: remove platform data structures and include/drm/exynos_drm.h
Platform data structures are not used for long time so the whole header file can be safely removed. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/exynos_drm.h86
1 files changed, 0 insertions, 86 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
deleted file mode 100644
index e9fb2bd971aa..000000000000
--- a/include/drm/exynos_drm.h
+++ /dev/null
@@ -1,86 +0,0 @@
1/* exynos_drm.h
2 *
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
4 * Authors:
5 * Inki Dae <inki.dae@samsung.com>
6 * Joonyoung Shim <jy0922.shim@samsung.com>
7 * Seung-Woo Kim <sw0312.kim@samsung.com>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
13 */
14#ifndef _EXYNOS_DRM_H_
15#define _EXYNOS_DRM_H_
16
17#include <uapi/drm/exynos_drm.h>
18#include <video/videomode.h>
19
20/**
21 * Platform Specific Structure for DRM based FIMD.
22 *
23 * @default_win: default window layer number to be used for UI.
24 * @bpp: default bit per pixel.
25 */
26struct exynos_drm_fimd_pdata {
27 u32 vidcon0;
28 u32 vidcon1;
29 unsigned int default_win;
30 unsigned int bpp;
31};
32
33/**
34 * Platform Specific Structure for DRM based HDMI.
35 *
36 * @hdmi_dev: device point to specific hdmi driver.
37 * @mixer_dev: device point to specific mixer driver.
38 *
39 * this structure is used for common hdmi driver and each device object
40 * would be used to access specific device driver(hdmi or mixer driver)
41 */
42struct exynos_drm_common_hdmi_pd {
43 struct device *hdmi_dev;
44 struct device *mixer_dev;
45};
46
47/**
48 * Platform Specific Structure for DRM based HDMI core.
49 *
50 * @is_v13: set if hdmi version 13 is.
51 * @cfg_hpd: function pointer to configure hdmi hotplug detection pin
52 * @get_hpd: function pointer to get value of hdmi hotplug detection pin
53 */
54struct exynos_drm_hdmi_pdata {
55 bool is_v13;
56 void (*cfg_hpd)(bool external);
57 int (*get_hpd)(void);
58};
59
60/**
61 * Platform Specific Structure for DRM based IPP.
62 *
63 * @inv_pclk: if set 1. invert pixel clock
64 * @inv_vsync: if set 1. invert vsync signal for wb
65 * @inv_href: if set 1. invert href signal
66 * @inv_hsync: if set 1. invert hsync signal for wb
67 */
68struct exynos_drm_ipp_pol {
69 unsigned int inv_pclk;
70 unsigned int inv_vsync;
71 unsigned int inv_href;
72 unsigned int inv_hsync;
73};
74
75/**
76 * Platform Specific Structure for DRM based FIMC.
77 *
78 * @pol: current hardware block polarity settings.
79 * @clk_rate: current hardware clock rate.
80 */
81struct exynos_drm_fimc_pdata {
82 struct exynos_drm_ipp_pol pol;
83 int clk_rate;
84};
85
86#endif /* _EXYNOS_DRM_H_ */