forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/gma500/cdv_device.c
....@@ -1,32 +1,21 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**************************************************************************
23 * Copyright (c) 2011, Intel Corporation.
34 * All Rights Reserved.
45 *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms and conditions of the GNU General Public License,
7
- * version 2, as published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
- * more details.
13
- *
14
- * You should have received a copy of the GNU General Public License along with
15
- * this program; if not, write to the Free Software Foundation, Inc.,
16
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17
- *
186 **************************************************************************/
197
208 #include <linux/backlight.h>
21
-#include <drm/drmP.h>
9
+#include <linux/delay.h>
10
+
2211 #include <drm/drm.h>
23
-#include <drm/gma_drm.h>
24
-#include "psb_drv.h"
25
-#include "psb_reg.h"
26
-#include "psb_intel_reg.h"
27
-#include "intel_bios.h"
12
+
2813 #include "cdv_device.h"
2914 #include "gma_device.h"
15
+#include "intel_bios.h"
16
+#include "psb_drv.h"
17
+#include "psb_intel_reg.h"
18
+#include "psb_reg.h"
3019
3120 #define VGA_SR_INDEX 0x3c4
3221 #define VGA_SR_DATA 0x3c5