forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/arc/arcpgu_sim.c
....@@ -1,21 +1,13 @@
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
17
-#include <drm/drm_crtc_helper.h>
188 #include <drm/drm_atomic_helper.h>
9
+#include <drm/drm_device.h>
10
+#include <drm/drm_probe_helper.h>
1911
2012 #include "arcpgu.h"
2113
....@@ -51,7 +43,6 @@
5143 };
5244
5345 static const struct drm_connector_funcs arcpgu_drm_connector_funcs = {
54
- .dpms = drm_helper_connector_dpms,
5546 .reset = drm_atomic_helper_connector_reset,
5647 .fill_modes = drm_helper_probe_single_connector_modes,
5748 .destroy = arcpgu_drm_connector_destroy,