| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright © 2009 Intel Corporation |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 5 | | - * under the terms and conditions of the GNU General Public License, |
|---|
| 6 | | - * version 2, as published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
|---|
| 9 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 10 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 11 | | - * more details. |
|---|
| 12 | | - * |
|---|
| 13 | | - * You should have received a copy of the GNU General Public License along with |
|---|
| 14 | | - * this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 15 | | - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
|---|
| 16 | 4 | */ |
|---|
| 17 | 5 | |
|---|
| 6 | +#include <linux/delay.h> |
|---|
| 18 | 7 | #include <linux/i2c.h> |
|---|
| 19 | 8 | #include <linux/pm_runtime.h> |
|---|
| 20 | 9 | |
|---|
| 21 | | -#include <drm/drmP.h> |
|---|
| 10 | +#include <drm/drm_fourcc.h> |
|---|
| 11 | + |
|---|
| 22 | 12 | #include "framebuffer.h" |
|---|
| 13 | +#include "gma_display.h" |
|---|
| 14 | +#include "power.h" |
|---|
| 23 | 15 | #include "psb_drv.h" |
|---|
| 24 | 16 | #include "psb_intel_drv.h" |
|---|
| 25 | 17 | #include "psb_intel_reg.h" |
|---|
| 26 | | -#include "gma_display.h" |
|---|
| 27 | | -#include "power.h" |
|---|
| 28 | 18 | |
|---|
| 29 | 19 | #define MRST_LIMIT_LVDS_100L 0 |
|---|
| 30 | 20 | #define MRST_LIMIT_LVDS_83 1 |
|---|