forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/gpu/drm/tve200/tve200_drm.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2017 Linus Walleij <linus.walleij@linaro.org>
34 * Parts of this file were based on sources as follows:
....@@ -7,15 +8,22 @@
78 * Copyright (C) 2007 Dave Airlie <airlied@linux.ie>
89 * Copyright (C) 2011 Texas Instruments
910 * Copyright (C) 2017 Eric Anholt
10
- *
11
- * This program is free software and is provided to you under the terms of the
12
- * GNU General Public License version 2 as published by the Free Software
13
- * Foundation, and any use by you of this program is subject to the terms of
14
- * such GNU licence.
1511 */
1612
1713 #ifndef _TVE200_DRM_H_
1814 #define _TVE200_DRM_H_
15
+
16
+#include <linux/irqreturn.h>
17
+
18
+#include <drm/drm_simple_kms_helper.h>
19
+
20
+struct clk;
21
+struct drm_bridge;
22
+struct drm_connector;
23
+struct drm_device;
24
+struct drm_file;
25
+struct drm_mode_create_dumb;
26
+struct drm_panel;
1927
2028 /* Bits 2-31 are valid physical base addresses */
2129 #define TVE200_Y_FRAME_BASE_ADDR 0x00
....@@ -92,9 +100,6 @@
92100
93101 #define TVE200_CTRL_4 0x24
94102 #define TVE200_CTRL_4_RESET BIT(0) /* triggers reset of TVE200 */
95
-
96
-#include <drm/drm_gem.h>
97
-#include <drm/drm_simple_kms_helper.h>
98103
99104 struct tve200_drm_dev_private {
100105 struct drm_device *drm;