forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/drivers/gpu/drm/mediatek/mtk_drm_drv.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2015 MediaTek Inc.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
135
146 #ifndef MTK_DRM_DRV_H
....@@ -47,17 +39,10 @@
4739
4840 struct device_node *mutex_node;
4941 struct device *mutex_dev;
50
- void __iomem *config_regs;
42
+ struct device *mmsys_dev;
5143 struct device_node *comp_node[DDP_COMPONENT_ID_MAX];
5244 struct mtk_ddp_comp *ddp_comp[DDP_COMPONENT_ID_MAX];
5345 const struct mtk_mmsys_driver_data *data;
54
-
55
- struct {
56
- struct drm_atomic_state *state;
57
- struct work_struct work;
58
- struct mutex lock;
59
- } commit;
60
-
6146 struct drm_atomic_state *suspend_state;
6247
6348 bool dma_parms_allocated;