drm: Rename dp/ to display/

Rename dp/ to display/ to account for additional display-related
helpers, such as HDMI. Update all related include statements. No
functional changes.

Various drivers, such as i915 and amdgpu, use similar naming scheme
by putting code for video-output standards into a local display/
directory. The new directory's name is aligned with this convention.

v2:
	* update commit message (Javier)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220421073108.19226-3-tzimmermann@suse.de
This commit is contained in:
Thomas Zimmermann 2022-04-21 09:31:02 +02:00
parent c6eafc99f0
commit da68386d9e
76 changed files with 106 additions and 98 deletions

View File

@ -232,34 +232,34 @@ HDCP Helper Functions Reference
Display Port Helper Functions Reference Display Port Helper Functions Reference
======================================= =======================================
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_helper.c
:doc: dp helpers :doc: dp helpers
.. kernel-doc:: include/drm/dp/drm_dp_helper.h .. kernel-doc:: include/drm/display/drm_dp_helper.h
:internal: :internal:
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_helper.c
:export: :export:
Display Port CEC Helper Functions Reference Display Port CEC Helper Functions Reference
=========================================== ===========================================
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp_cec.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_cec.c
:doc: dp cec helpers :doc: dp cec helpers
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp_cec.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_cec.c
:export: :export:
Display Port Dual Mode Adaptor Helper Functions Reference Display Port Dual Mode Adaptor Helper Functions Reference
========================================================= =========================================================
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp_dual_mode_helper.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
:doc: dp dual mode helpers :doc: dp dual mode helpers
.. kernel-doc:: include/drm/dp/drm_dp_dual_mode_helper.h .. kernel-doc:: include/drm/display/drm_dp_dual_mode_helper.h
:internal: :internal:
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp_dual_mode_helper.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
:export: :export:
Display Port MST Helpers Display Port MST Helpers
@ -268,19 +268,19 @@ Display Port MST Helpers
Overview Overview
-------- --------
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp_mst_topology.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_mst_topology.c
:doc: dp mst helper :doc: dp mst helper
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp_mst_topology.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_mst_topology.c
:doc: Branch device and port refcounting :doc: Branch device and port refcounting
Functions Reference Functions Reference
------------------- -------------------
.. kernel-doc:: include/drm/dp/drm_dp_mst_helper.h .. kernel-doc:: include/drm/display/drm_dp_mst_helper.h
:internal: :internal:
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp_mst_topology.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_mst_topology.c
:export: :export:
Topology Lifetime Internals Topology Lifetime Internals
@ -289,7 +289,7 @@ Topology Lifetime Internals
These functions aren't exported to drivers, but are documented here to help make These functions aren't exported to drivers, but are documented here to help make
the MST topology helpers easier to understand the MST topology helpers easier to understand
.. kernel-doc:: drivers/gpu/drm/dp/drm_dp_mst_topology.c .. kernel-doc:: drivers/gpu/drm/display/drm_dp_mst_topology.c
:functions: drm_dp_mst_topology_try_get_mstb drm_dp_mst_topology_get_mstb :functions: drm_dp_mst_topology_try_get_mstb drm_dp_mst_topology_get_mstb
drm_dp_mst_topology_put_mstb drm_dp_mst_topology_put_mstb
drm_dp_mst_topology_try_get_port drm_dp_mst_topology_get_port drm_dp_mst_topology_try_get_port drm_dp_mst_topology_get_port

View File

@ -80,7 +80,7 @@ obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/
obj-$(CONFIG_DRM_MIPI_DBI) += drm_mipi_dbi.o obj-$(CONFIG_DRM_MIPI_DBI) += drm_mipi_dbi.o
obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o
obj-y += arm/ obj-y += arm/
obj-y += dp/ obj-y += display/
obj-$(CONFIG_DRM_TTM) += ttm/ obj-$(CONFIG_DRM_TTM) += ttm/
obj-$(CONFIG_DRM_SCHED) += scheduler/ obj-$(CONFIG_DRM_SCHED) += scheduler/
obj-$(CONFIG_DRM_TDFX) += tdfx/ obj-$(CONFIG_DRM_TDFX) += tdfx/

View File

@ -24,9 +24,9 @@
* Alex Deucher * Alex Deucher
*/ */
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_fb_helper.h> #include <drm/drm_fb_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>
#include <drm/amdgpu_drm.h> #include <drm/amdgpu_drm.h>
#include "amdgpu.h" #include "amdgpu.h"

View File

@ -30,10 +30,10 @@
#ifndef AMDGPU_MODE_H #ifndef AMDGPU_MODE_H
#define AMDGPU_MODE_H #define AMDGPU_MODE_H
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_encoder.h> #include <drm/drm_encoder.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_fixed.h> #include <drm/drm_fixed.h>
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_helper.h> #include <drm/drm_fb_helper.h>
@ -44,7 +44,7 @@
#include <linux/hrtimer.h> #include <linux/hrtimer.h>
#include "amdgpu_irq.h" #include "amdgpu_irq.h"
#include <drm/dp/drm_dp_mst_helper.h> #include <drm/display/drm_dp_mst_helper.h>
#include "modules/inc/mod_freesync.h" #include "modules/inc/mod_freesync.h"
#include "amdgpu_dm_irq_params.h" #include "amdgpu_dm_irq_params.h"

View File

@ -26,6 +26,8 @@
*/ */
#include <drm/amdgpu_drm.h> #include <drm/amdgpu_drm.h>
#include <drm/display/drm_dp_helper.h>
#include "amdgpu.h" #include "amdgpu.h"
#include "atom.h" #include "atom.h"
@ -34,7 +36,6 @@
#include "atombios_dp.h" #include "atombios_dp.h"
#include "amdgpu_connectors.h" #include "amdgpu_connectors.h"
#include "amdgpu_atombios.h" #include "amdgpu_atombios.h"
#include <drm/dp/drm_dp_helper.h>
/* move these to drm_dp_helper.c/h */ /* move these to drm_dp_helper.c/h */
#define DP_LINK_CONFIGURATION_SIZE 9 #define DP_LINK_CONFIGURATION_SIZE 9

View File

@ -73,10 +73,10 @@
#include <linux/firmware.h> #include <linux/firmware.h>
#include <linux/component.h> #include <linux/component.h>
#include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_atomic_uapi.h> #include <drm/drm_atomic_uapi.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/dp/drm_dp_mst_helper.h>
#include <drm/drm_fb_helper.h> #include <drm/drm_fb_helper.h>
#include <drm/drm_fourcc.h> #include <drm/drm_fourcc.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>

View File

@ -26,10 +26,10 @@
#ifndef __AMDGPU_DM_H__ #ifndef __AMDGPU_DM_H__
#define __AMDGPU_DM_H__ #define __AMDGPU_DM_H__
#include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_connector.h> #include <drm/drm_connector.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/dp/drm_dp_mst_helper.h>
#include <drm/drm_plane.h> #include <drm/drm_plane.h>
/* /*

View File

@ -23,10 +23,10 @@
* *
*/ */
#include <drm/display/drm_dp_helper.h>
#include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/dp/drm_dp_mst_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include "dm_services.h" #include "dm_services.h"
#include "amdgpu.h" #include "amdgpu.h"
#include "amdgpu_dm.h" #include "amdgpu_dm.h"

View File

@ -27,8 +27,8 @@
#include <dc_link.h> #include <dc_link.h>
#include <inc/link_hwss.h> #include <inc/link_hwss.h>
#include <inc/link_dpcd.h> #include <inc/link_dpcd.h>
#include <drm/dp/drm_dp_helper.h>
#include <dc_dp_types.h> #include <dc_dp_types.h>
#include <drm/display/drm_dp_helper.h>
#include "dm_helpers.h" #include "dm_helpers.h"
#define END_ADDRESS(start, size) (start + size - 1) #define END_ADDRESS(start, size) (start + size - 1)

View File

@ -25,7 +25,7 @@
#include <drm/drm_dsc.h> #include <drm/drm_dsc.h>
#include "dc_hw_types.h" #include "dc_hw_types.h"
#include "dsc.h" #include "dsc.h"
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include "dc.h" #include "dc.h"
#include "rc_calc.h" #include "rc_calc.h"
#include "fixed31_32.h" #include "fixed31_32.h"

View File

@ -35,8 +35,8 @@
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include <drm/dp/drm_dp_helper.h>
#include "cgs_common.h" #include "cgs_common.h"

View File

@ -26,7 +26,7 @@
#ifndef __DAL_DPCD_DEFS_H__ #ifndef __DAL_DPCD_DEFS_H__
#define __DAL_DPCD_DEFS_H__ #define __DAL_DPCD_DEFS_H__
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#ifndef DP_SINK_HW_REVISION_START // can remove this once the define gets into linux drm_dp_helper.h #ifndef DP_SINK_HW_REVISION_START // can remove this once the define gets into linux drm_dp_helper.h
#define DP_SINK_HW_REVISION_START 0x409 #define DP_SINK_HW_REVISION_START 0x409
#endif #endif

View File

@ -29,8 +29,8 @@
#include "mod_hdcp.h" #include "mod_hdcp.h"
#include "hdcp_log.h" #include "hdcp_log.h"
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_hdcp.h> #include <drm/drm_hdcp.h>
#include <drm/dp/drm_dp_helper.h>
enum mod_hdcp_trans_input_result { enum mod_hdcp_trans_input_result {
UNKNOWN = 0, UNKNOWN = 0,

View File

@ -18,11 +18,11 @@
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/types.h> #include <linux/types.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>

View File

@ -18,10 +18,10 @@
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/types.h> #include <linux/types.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>

View File

@ -7,8 +7,8 @@
*/ */
#include <linux/regmap.h> #include <linux/regmap.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm.h> #include <drm/drm.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include "analogix-i2c-dptx.h" #include "analogix-i2c-dptx.h"

View File

@ -9,8 +9,8 @@
#ifndef _ANALOGIX_DP_CORE_H #ifndef _ANALOGIX_DP_CORE_H
#define _ANALOGIX_DP_CORE_H #define _ANALOGIX_DP_CORE_H
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/dp/drm_dp_helper.h>
#define DP_TIMEOUT_LOOP_COUNT 100 #define DP_TIMEOUT_LOOP_COUNT 100
#define MAX_CR_LOOP 5 #define MAX_CR_LOOP 5

View File

@ -21,11 +21,11 @@
#include <linux/of_graph.h> #include <linux/of_graph.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <drm/display/drm_dp_aux_bus.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include <drm/dp/drm_dp_aux_bus.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_hdcp.h> #include <drm/drm_hdcp.h>
#include <drm/drm_mipi_dsi.h> #include <drm/drm_mipi_dsi.h>

View File

@ -35,13 +35,13 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/wait.h> #include <linux/wait.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_atomic_state_helper.h> #include <drm/drm_atomic_state_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_connector.h> #include <drm/drm_connector.h>
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_hdcp.h> #include <drm/drm_hdcp.h>
#include <drm/drm_modeset_helper_vtables.h> #include <drm/drm_modeset_helper_vtables.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>

View File

@ -15,9 +15,9 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_connector.h> #include <drm/drm_connector.h>
#include <drm/dp/drm_dp_helper.h>
struct clk; struct clk;
struct device; struct device;

View File

@ -21,7 +21,7 @@
#include <crypto/hash.h> #include <crypto/hash.h>
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>

View File

@ -13,9 +13,9 @@
#include <linux/regmap.h> #include <linux/regmap.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <drm/display/drm_dp_aux_bus.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/dp/drm_dp_aux_bus.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_mipi_dsi.h> #include <drm/drm_mipi_dsi.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>

View File

@ -31,9 +31,9 @@
#include <linux/regmap.h> #include <linux/regmap.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_mipi_dsi.h> #include <drm/drm_mipi_dsi.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>

View File

@ -19,10 +19,10 @@
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_mipi_dsi.h> #include <drm/drm_mipi_dsi.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>

View File

@ -23,12 +23,12 @@
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include <drm/display/drm_dp_aux_bus.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_bridge_connector.h> #include <drm/drm_bridge_connector.h>
#include <drm/dp/drm_dp_aux_bus.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_mipi_dsi.h> #include <drm/drm_mipi_dsi.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>

View File

@ -30,10 +30,10 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/string_helpers.h> #include <linux/string_helpers.h>
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include <drm/drm_vblank.h> #include <drm/drm_vblank.h>
#include <drm/dp/drm_dp_mst_helper.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
#include "drm_dp_helper_internal.h" #include "drm_dp_helper_internal.h"

View File

@ -19,8 +19,8 @@
#include <linux/pm_domain.h> #include <linux/pm_domain.h>
#include <linux/pm_runtime.h> #include <linux/pm_runtime.h>
#include <drm/dp/drm_dp_aux_bus.h> #include <drm/display/drm_dp_aux_bus.h>
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
/** /**
* dp_aux_ep_match() - The match function for the dp_aux_bus. * dp_aux_ep_match() - The match function for the dp_aux_bus.

View File

@ -35,9 +35,9 @@
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/uio.h> #include <linux/uio.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/dp/drm_dp_mst_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include "drm_dp_helper_internal.h" #include "drm_dp_helper_internal.h"

View File

@ -11,9 +11,9 @@
#include <media/cec.h> #include <media/cec.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_connector.h> #include <drm/drm_connector.h>
#include <drm/drm_device.h> #include <drm/drm_device.h>
#include <drm/dp/drm_dp_helper.h>
/* /*
* Unfortunately it turns out that we have a chicken-and-egg situation * Unfortunately it turns out that we have a chicken-and-egg situation

View File

@ -27,8 +27,8 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/string.h> #include <linux/string.h>
#include <drm/display/drm_dp_dual_mode_helper.h>
#include <drm/drm_device.h> #include <drm/drm_device.h>
#include <drm/dp/drm_dp_dual_mode_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
/** /**

View File

@ -38,7 +38,7 @@
#include <linux/math64.h> #include <linux/math64.h>
#endif #endif
#include <drm/dp/drm_dp_mst_helper.h> #include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h> #include <drm/drm_drv.h>

View File

@ -10,7 +10,7 @@
#ifndef _DRM_DP_MST_HELPER_INTERNAL_H_ #ifndef _DRM_DP_MST_HELPER_INTERNAL_H_
#define _DRM_DP_MST_HELPER_INTERNAL_H_ #define _DRM_DP_MST_HELPER_INTERNAL_H_
#include <drm/dp/drm_dp_mst_helper.h> #include <drm/display/drm_dp_mst_helper.h>
void void
drm_dp_encode_sideband_req(const struct drm_dp_sideband_msg_req_body *req, drm_dp_encode_sideband_req(const struct drm_dp_sideband_msg_req_body *req,

View File

@ -11,8 +11,9 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/byteorder/generic.h> #include <linux/byteorder/generic.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_dsc.h> #include <drm/drm_dsc.h>
/** /**

View File

@ -29,9 +29,9 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_simple_kms_helper.h> #include <drm/drm_simple_kms_helper.h>
#include "gma_display.h" #include "gma_display.h"

View File

@ -5,8 +5,9 @@
* Authors: * Authors:
* Eric Anholt <eric@anholt.net> * Eric Anholt <eric@anholt.net>
*/ */
#include <drm/display/drm_dp_helper.h>
#include <drm/drm.h> #include <drm/drm.h>
#include <drm/dp/drm_dp_helper.h>
#include "intel_bios.h" #include "intel_bios.h"
#include "psb_drv.h" #include "psb_drv.h"

View File

@ -25,7 +25,7 @@
* *
*/ */
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include "display/intel_display.h" #include "display/intel_display.h"
#include "display/intel_display_types.h" #include "display/intel_display_types.h"

View File

@ -35,11 +35,11 @@
#include <linux/string_helpers.h> #include <linux/string_helpers.h>
#include <linux/vga_switcheroo.h> #include <linux/vga_switcheroo.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_atomic_uapi.h> #include <drm/drm_atomic_uapi.h>
#include <drm/drm_damage_helper.h> #include <drm/drm_damage_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_fourcc.h> #include <drm/drm_fourcc.h>
#include <drm/drm_plane_helper.h> #include <drm/drm_plane_helper.h>

View File

@ -31,8 +31,8 @@
#include <linux/pwm.h> #include <linux/pwm.h>
#include <linux/sched/clock.h> #include <linux/sched/clock.h>
#include <drm/dp/drm_dp_dual_mode_helper.h> #include <drm/display/drm_dp_dual_mode_helper.h>
#include <drm/dp/drm_dp_mst_helper.h> #include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_dsc.h> #include <drm/drm_dsc.h>

View File

@ -35,9 +35,9 @@
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>

View File

@ -6,8 +6,8 @@
* Sean Paul <seanpaul@chromium.org> * Sean Paul <seanpaul@chromium.org>
*/ */
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/dp/drm_dp_mst_helper.h> #include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_hdcp.h> #include <drm/drm_hdcp.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>

View File

@ -6,7 +6,7 @@
#ifndef __INTEL_DP_LINK_TRAINING_H__ #ifndef __INTEL_DP_LINK_TRAINING_H__
#define __INTEL_DP_LINK_TRAINING_H__ #define __INTEL_DP_LINK_TRAINING_H__
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
struct intel_crtc_state; struct intel_crtc_state;
struct intel_dp; struct intel_dp;

View File

@ -23,8 +23,8 @@
* *
*/ */
#include <drm/display/drm_dp_dual_mode_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/dp/drm_dp_dual_mode_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include "intel_de.h" #include "intel_de.h"

View File

@ -8,7 +8,7 @@
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include "dp_catalog.h" #include "dp_catalog.h"

View File

@ -7,7 +7,7 @@
#define _DP_AUX_H_ #define _DP_AUX_H_
#include "dp_catalog.h" #include "dp_catalog.h"
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
int dp_aux_register(struct drm_dp_aux *dp_aux); int dp_aux_register(struct drm_dp_aux *dp_aux);
void dp_aux_unregister(struct drm_dp_aux *dp_aux); void dp_aux_unregister(struct drm_dp_aux *dp_aux);

View File

@ -10,7 +10,7 @@
#include <linux/phy/phy.h> #include <linux/phy/phy.h>
#include <linux/phy/phy-dp.h> #include <linux/phy/phy-dp.h>
#include <linux/rational.h> #include <linux/rational.h>
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include "dp_catalog.h" #include "dp_catalog.h"

View File

@ -11,8 +11,9 @@
#include <linux/phy/phy.h> #include <linux/phy/phy.h>
#include <linux/phy/phy-dp.h> #include <linux/phy/phy-dp.h>
#include <linux/pm_opp.h> #include <linux/pm_opp.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_fixed.h> #include <drm/drm_fixed.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include "dp_reg.h" #include "dp_reg.h"

View File

@ -10,7 +10,8 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>

View File

@ -6,7 +6,8 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/gpio/consumer.h> #include <linux/gpio/consumer.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>

View File

@ -33,9 +33,9 @@
#include <linux/component.h> #include <linux/component.h>
#include <linux/iopoll.h> #include <linux/iopoll.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_fb_helper.h> #include <drm/drm_fb_helper.h>
#include <drm/drm_plane_helper.h> #include <drm/drm_plane_helper.h>

View File

@ -33,10 +33,10 @@
#include <nvhw/class/cl907d.h> #include <nvhw/class/cl907d.h>
#include <nvhw/drf.h> #include <nvhw/drf.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_encoder.h> #include <drm/drm_encoder.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_util.h> #include <drm/drm_util.h>
#include "nouveau_crtc.h" #include "nouveau_crtc.h"

View File

@ -22,7 +22,7 @@
* Authors: Ben Skeggs * Authors: Ben Skeggs
*/ */
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include "nouveau_drv.h" #include "nouveau_drv.h"
#include "nouveau_connector.h" #include "nouveau_connector.h"

View File

@ -29,10 +29,12 @@
#include <subdev/bios/dcb.h> #include <subdev/bios/dcb.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_encoder_slave.h> #include <drm/drm_encoder_slave.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/dp/drm_dp_mst_helper.h>
#include "dispnv04/disp.h" #include "dispnv04/disp.h"
struct nv50_head_atom; struct nv50_head_atom;
struct nouveau_connector; struct nouveau_connector;

View File

@ -35,10 +35,10 @@
#include <video/of_display_timing.h> #include <video/of_display_timing.h>
#include <video/videomode.h> #include <video/videomode.h>
#include <drm/display/drm_dp_aux_bus.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_device.h> #include <drm/drm_device.h>
#include <drm/dp/drm_dp_aux_bus.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
/** /**

View File

@ -14,8 +14,8 @@
#include <linux/pm_runtime.h> #include <linux/pm_runtime.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <drm/dp/drm_dp_aux_bus.h> #include <drm/display/drm_dp_aux_bus.h>
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>

View File

@ -30,7 +30,7 @@
#include "atom.h" #include "atom.h"
#include "atom-bits.h" #include "atom-bits.h"
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
/* move these to drm_dp_helper.c/h */ /* move these to drm_dp_helper.c/h */
#define DP_LINK_CONFIGURATION_SIZE 9 #define DP_LINK_CONFIGURATION_SIZE 9

View File

@ -24,10 +24,10 @@
* Alex Deucher * Alex Deucher
*/ */
#include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_helper.h> #include <drm/drm_fb_helper.h>
#include <drm/dp/drm_dp_mst_helper.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>
#include <drm/radeon_drm.h> #include <drm/radeon_drm.h>
#include "radeon.h" #include "radeon.h"

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#include <drm/dp/drm_dp_mst_helper.h> #include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_fb_helper.h> #include <drm/drm_fb_helper.h>
#include <drm/drm_file.h> #include <drm/drm_file.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>

View File

@ -30,11 +30,11 @@
#ifndef RADEON_MODE_H #ifndef RADEON_MODE_H
#define RADEON_MODE_H #define RADEON_MODE_H
#include <drm/display/drm_dp_helper.h>
#include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_encoder.h> #include <drm/drm_encoder.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/dp/drm_dp_mst_helper.h>
#include <drm/drm_fixed.h> #include <drm/drm_fixed.h>
#include <drm/drm_crtc_helper.h> #include <drm/drm_crtc_helper.h>
#include <linux/i2c.h> #include <linux/i2c.h>

View File

@ -19,10 +19,10 @@
#include <video/of_videomode.h> #include <video/of_videomode.h>
#include <video/videomode.h> #include <video/videomode.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/bridge/analogix_dp.h> #include <drm/bridge/analogix_dp.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>

View File

@ -15,8 +15,8 @@
#include <sound/hdmi-codec.h> #include <sound/hdmi-codec.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>

View File

@ -7,7 +7,7 @@
#ifndef _CDN_DP_CORE_H #ifndef _CDN_DP_CORE_H
#define _CDN_DP_CORE_H #define _CDN_DP_CORE_H
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>
#include <sound/hdmi-codec.h> #include <sound/hdmi-codec.h>

View File

@ -17,10 +17,10 @@
#include <linux/regmap.h> #include <linux/regmap.h>
#include <linux/reset.h> #include <linux/reset.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_bridge_connector.h> #include <drm/drm_bridge_connector.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>

View File

@ -8,10 +8,10 @@
#include <linux/component.h> #include <linux/component.h>
#include <linux/of_graph.h> #include <linux/of_graph.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_bridge.h> #include <drm/drm_bridge.h>
#include <drm/drm_bridge_connector.h> #include <drm/drm_bridge_connector.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
#include <drm/drm_probe_helper.h> #include <drm/drm_probe_helper.h>

View File

@ -7,10 +7,10 @@
#include <linux/random.h> #include <linux/random.h>
#include <drm/dp/drm_dp_mst_helper.h> #include <drm/display/drm_dp_mst_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include "../dp/drm_dp_mst_topology_internal.h" #include "../display/drm_dp_mst_topology_internal.h"
#include "test-drm_modeset_common.h" #include "test-drm_modeset_common.h"
int igt_dp_mst_calc_pbn_mode(void *ignored) int igt_dp_mst_calc_pbn_mode(void *ignored)

View File

@ -4,8 +4,8 @@
* Copyright (C) 2015 Rob Clark * Copyright (C) 2015 Rob Clark
*/ */
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_print.h> #include <drm/drm_print.h>
#include "dp.h" #include "dp.h"

View File

@ -18,8 +18,8 @@
#include <linux/reset.h> #include <linux/reset.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/dp/drm_dp_aux_bus.h> #include <drm/display/drm_dp_aux_bus.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
#include "dp.h" #include "dp.h"

View File

@ -16,9 +16,9 @@
#include <soc/tegra/pmc.h> #include <soc/tegra/pmc.h>
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_debugfs.h> #include <drm/drm_debugfs.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_file.h> #include <drm/drm_file.h>
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
#include <drm/drm_scdc_helper.h> #include <drm/drm_scdc_helper.h>

View File

@ -9,11 +9,11 @@
* - Laurent Pinchart <laurent.pinchart@ideasonboard.com> * - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*/ */
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic_helper.h> #include <drm/drm_atomic_helper.h>
#include <drm/drm_connector.h> #include <drm/drm_connector.h>
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_device.h> #include <drm/drm_device.h>
#include <drm/dp/drm_dp_helper.h>
#include <drm/drm_edid.h> #include <drm/drm_edid.h>
#include <drm/drm_encoder.h> #include <drm/drm_encoder.h>
#include <drm/drm_managed.h> #include <drm/drm_managed.h>

View File

@ -23,7 +23,7 @@
#define _DRM_DP_MST_HELPER_H_ #define _DRM_DP_MST_HELPER_H_
#include <linux/types.h> #include <linux/types.h>
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
#include <drm/drm_atomic.h> #include <drm/drm_atomic.h>
#if IS_ENABLED(CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS) #if IS_ENABLED(CONFIG_DRM_DEBUG_DP_MST_TOPOLOGY_REFS)

View File

@ -8,7 +8,7 @@
#ifndef DRM_DSC_H_ #ifndef DRM_DSC_H_
#define DRM_DSC_H_ #define DRM_DSC_H_
#include <drm/dp/drm_dp_helper.h> #include <drm/display/drm_dp_helper.h>
/* VESA Display Stream Compression DSC 1.2 constants */ /* VESA Display Stream Compression DSC 1.2 constants */
#define DSC_NUM_BUF_RANGES 15 #define DSC_NUM_BUF_RANGES 15