forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/arc/arcpgu.h
....@@ -1,17 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ARC PGU DRM driver.
34 *
45 * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
156 */
167
178 #ifndef _ARCPGU_H_
....@@ -20,7 +11,6 @@
2011 struct arcpgu_drm_private {
2112 void __iomem *regs;
2213 struct clk *clk;
23
- struct drm_fbdev_cma *fbdev;
2414 struct drm_framebuffer *fb;
2515 struct drm_crtc crtc;
2616 struct drm_plane *plane;
....@@ -43,8 +33,5 @@
4333 int arc_pgu_setup_crtc(struct drm_device *dev);
4434 int arcpgu_drm_hdmi_init(struct drm_device *drm, struct device_node *np);
4535 int arcpgu_drm_sim_init(struct drm_device *drm, struct device_node *np);
46
-struct drm_fbdev_cma *arcpgu_fbdev_cma_init(struct drm_device *dev,
47
- unsigned int preferred_bpp, unsigned int num_crtc,
48
- unsigned int max_conn_count);
4936
5037 #endif