summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2019-06-19 06:32:13 -0400
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2019-06-19 06:32:13 -0400
commitbcb7416e3480c1abb46266bdab874b3b3d6124cb (patch)
tree9d889b14957c0e266697d0674675bc42b0899571 /include/drm
parent90b2df5743cd92f4525f662e8f12a536dfb58557 (diff)
parent52d2d44eee8091e740d0d275df1311fb8373c9a9 (diff)
Merge remote-tracking branch 'drm/drm-next' into drm-misc-next
remove-fbcon-notifiers topic branch is based on rc4, so we need a fresh backmerge of drm-next to pull it in. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/bridge/analogix_dp.h6
-rw-r--r--include/drm/bridge/dw_hdmi.h6
-rw-r--r--include/drm/bridge/dw_mipi_dsi.h3
-rw-r--r--include/drm/drm_edid.h1
-rw-r--r--include/drm/drm_format_helper.h6
-rw-r--r--include/drm/drm_lease.h11
-rw-r--r--include/drm/drm_modeset_helper_vtables.h8
-rw-r--r--include/drm/drm_simple_kms_helper.h6
-rw-r--r--include/drm/gma_drm.h13
-rw-r--r--include/drm/tinydrm/mipi-dbi.h6
-rw-r--r--include/drm/tinydrm/tinydrm-helpers.h6
11 files changed, 30 insertions, 42 deletions
diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h
index 475b706b49de..e56046cf4d04 100644
--- a/include/drm/bridge/analogix_dp.h
+++ b/include/drm/bridge/analogix_dp.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
1/* 2/*
2 * Analogix DP (Display Port) Core interface driver. 3 * Analogix DP (Display Port) Core interface driver.
3 * 4 *
4 * Copyright (C) 2015 Rockchip Electronics Co., Ltd. 5 * Copyright (C) 2015 Rockchip Electronics Co., Ltd.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */ 6 */
11#ifndef _ANALOGIX_DP_H_ 7#ifndef _ANALOGIX_DP_H_
12#define _ANALOGIX_DP_H_ 8#define _ANALOGIX_DP_H_
diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h
index 601243b56b69..c402364aec0d 100644
--- a/include/drm/bridge/dw_hdmi.h
+++ b/include/drm/bridge/dw_hdmi.h
@@ -1,10 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
1/* 2/*
2 * Copyright (C) 2011 Freescale Semiconductor, Inc. 3 * Copyright (C) 2011 Freescale Semiconductor, 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 as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */ 4 */
9 5
10#ifndef __DW_HDMI__ 6#ifndef __DW_HDMI__
diff --git a/include/drm/bridge/dw_mipi_dsi.h b/include/drm/bridge/dw_mipi_dsi.h
index be8cdc2bf67d..94cc64a342e1 100644
--- a/include/drm/bridge/dw_mipi_dsi.h
+++ b/include/drm/bridge/dw_mipi_dsi.h
@@ -1,10 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) STMicroelectronics SA 2017 3 * Copyright (C) STMicroelectronics SA 2017
3 * 4 *
4 * Authors: Philippe Cornu <philippe.cornu@st.com> 5 * Authors: Philippe Cornu <philippe.cornu@st.com>
5 * Yannick Fertre <yannick.fertre@st.com> 6 * Yannick Fertre <yannick.fertre@st.com>
6 *
7 * License terms: GNU General Public License (GPL), version 2
8 */ 7 */
9 8
10#ifndef __DW_MIPI_DSI__ 9#ifndef __DW_MIPI_DSI__
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 88b63801f9db..b9719418c3d2 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -478,6 +478,7 @@ struct edid *drm_get_edid_switcheroo(struct drm_connector *connector,
478 struct i2c_adapter *adapter); 478 struct i2c_adapter *adapter);
479struct edid *drm_edid_duplicate(const struct edid *edid); 479struct edid *drm_edid_duplicate(const struct edid *edid);
480int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid); 480int drm_add_edid_modes(struct drm_connector *connector, struct edid *edid);
481int drm_add_override_edid_modes(struct drm_connector *connector);
481 482
482u8 drm_match_cea_mode(const struct drm_display_mode *to_match); 483u8 drm_match_cea_mode(const struct drm_display_mode *to_match);
483enum hdmi_picture_aspect drm_get_cea_aspect_ratio(const u8 video_code); 484enum hdmi_picture_aspect drm_get_cea_aspect_ratio(const u8 video_code);
diff --git a/include/drm/drm_format_helper.h b/include/drm/drm_format_helper.h
index 085d63faee12..ac220aa1a245 100644
--- a/include/drm/drm_format_helper.h
+++ b/include/drm/drm_format_helper.h
@@ -1,10 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
1/* 2/*
2 * Copyright (C) 2016 Noralf Trønnes 3 * Copyright (C) 2016 Noralf Trønnes
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 as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */ 4 */
9 5
10#ifndef __LINUX_DRM_FORMAT_HELPER_H 6#ifndef __LINUX_DRM_FORMAT_HELPER_H
diff --git a/include/drm/drm_lease.h b/include/drm/drm_lease.h
index fbc0ab54855b..5c9ef6a2aeae 100644
--- a/include/drm/drm_lease.h
+++ b/include/drm/drm_lease.h
@@ -1,15 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
1/* 2/*
2 * Copyright © 2017 Keith Packard <keithp@keithp.com> 3 * Copyright © 2017 Keith Packard <keithp@keithp.com>
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 as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
13 */ 4 */
14 5
15#ifndef _DRM_LEASE_H_ 6#ifndef _DRM_LEASE_H_
diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h
index f36be43bd052..6b18c8adfe9d 100644
--- a/include/drm/drm_modeset_helper_vtables.h
+++ b/include/drm/drm_modeset_helper_vtables.h
@@ -1234,6 +1234,14 @@ struct drm_plane_helper_funcs {
1234 * current one with the new plane configurations in the new 1234 * current one with the new plane configurations in the new
1235 * plane_state. 1235 * plane_state.
1236 * 1236 *
1237 * Drivers should also swap the framebuffers between current plane
1238 * state (&drm_plane.state) and new_state.
1239 * This is required since cleanup for async commits is performed on
1240 * the new state, rather than old state like for traditional commits.
1241 * Since we want to give up the reference on the current (old) fb
1242 * instead of our brand new one, swap them in the driver during the
1243 * async commit.
1244 *
1237 * FIXME: 1245 * FIXME:
1238 * - It only works for single plane updates 1246 * - It only works for single plane updates
1239 * - Async Pageflips are not supported yet 1247 * - Async Pageflips are not supported yet
diff --git a/include/drm/drm_simple_kms_helper.h b/include/drm/drm_simple_kms_helper.h
index 451960438a29..4d89cd0a60db 100644
--- a/include/drm/drm_simple_kms_helper.h
+++ b/include/drm/drm_simple_kms_helper.h
@@ -1,10 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
1/* 2/*
2 * Copyright (C) 2016 Noralf Trønnes 3 * Copyright (C) 2016 Noralf Trønnes
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 as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */ 4 */
9 5
10#ifndef __LINUX_DRM_SIMPLE_KMS_HELPER_H 6#ifndef __LINUX_DRM_SIMPLE_KMS_HELPER_H
diff --git a/include/drm/gma_drm.h b/include/drm/gma_drm.h
new file mode 100644
index 000000000000..228f43e8df89
--- /dev/null
+++ b/include/drm/gma_drm.h
@@ -0,0 +1,13 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
2/**************************************************************************
3 * Copyright (c) 2007-2011, Intel Corporation.
4 * All Rights Reserved.
5 * Copyright (c) 2008, Tungsten Graphics Inc. Cedar Park, TX., USA.
6 * All Rights Reserved.
7 *
8 **************************************************************************/
9
10#ifndef _GMA_DRM_H_
11#define _GMA_DRM_H_
12
13#endif
diff --git a/include/drm/tinydrm/mipi-dbi.h b/include/drm/tinydrm/mipi-dbi.h
index af203b37d87a..51fc667beef7 100644
--- a/include/drm/tinydrm/mipi-dbi.h
+++ b/include/drm/tinydrm/mipi-dbi.h
@@ -1,12 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
1/* 2/*
2 * MIPI Display Bus Interface (DBI) LCD controller support 3 * MIPI Display Bus Interface (DBI) LCD controller support
3 * 4 *
4 * Copyright 2016 Noralf Trønnes 5 * Copyright 2016 Noralf Trønnes
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 as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 */ 6 */
11 7
12#ifndef __LINUX_MIPI_DBI_H 8#ifndef __LINUX_MIPI_DBI_H
diff --git a/include/drm/tinydrm/tinydrm-helpers.h b/include/drm/tinydrm/tinydrm-helpers.h
index 7d259acb8826..f8bcadf48cb1 100644
--- a/include/drm/tinydrm/tinydrm-helpers.h
+++ b/include/drm/tinydrm/tinydrm-helpers.h
@@ -1,10 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-or-later */
1/* 2/*
2 * Copyright (C) 2016 Noralf Trønnes 3 * Copyright (C) 2016 Noralf Trønnes
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 as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */ 4 */
9 5
10#ifndef __LINUX_TINYDRM_HELPERS_H 6#ifndef __LINUX_TINYDRM_HELPERS_H