|
@@ -1,6 +1,6 @@
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
*/
|
|
|
|
|
|
#ifndef _DP_DRM_H_
|
|
#ifndef _DP_DRM_H_
|
|
@@ -151,31 +151,6 @@ void convert_to_drm_mode(const struct dp_display_mode *dp_mode,
|
|
int dp_connector_update_pps(struct drm_connector *connector,
|
|
int dp_connector_update_pps(struct drm_connector *connector,
|
|
char *pps_cmd, void *display);
|
|
char *pps_cmd, void *display);
|
|
|
|
|
|
-/**
|
|
|
|
- * dp_mst_drm_bridge_init - initialize mst bridge
|
|
|
|
- * @display: Pointer to private display structure
|
|
|
|
- * @encoder: Pointer to encoder for mst bridge mapping
|
|
|
|
- */
|
|
|
|
-int dp_mst_drm_bridge_init(void *display,
|
|
|
|
- struct drm_encoder *encoder);
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * dp_mst_drm_bridge_deinit - de-initialize mst bridges
|
|
|
|
- * @display: Pointer to private display structure
|
|
|
|
- */
|
|
|
|
-void dp_mst_drm_bridge_deinit(void *display);
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * dp_mst_init - initialize mst objects for the given display
|
|
|
|
- * @display: Pointer to private display structure
|
|
|
|
- */
|
|
|
|
-int dp_mst_init(struct dp_display *dp_display);
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * dp_mst_deinit - de-initialize mst objects for the given display
|
|
|
|
- * @display: Pointer to private display structure
|
|
|
|
- */
|
|
|
|
-void dp_mst_deinit(struct dp_display *dp_display);
|
|
|
|
#else
|
|
#else
|
|
static inline int dp_connector_config_hdr(struct drm_connector *connector,
|
|
static inline int dp_connector_config_hdr(struct drm_connector *connector,
|
|
void *display, struct sde_connector_state *c_state)
|
|
void *display, struct sde_connector_state *c_state)
|
|
@@ -256,26 +231,6 @@ static inline void convert_to_drm_mode(const struct dp_display_mode *dp_mode,
|
|
struct drm_display_mode *drm_mode)
|
|
struct drm_display_mode *drm_mode)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
-
|
|
|
|
-static inline int dp_mst_drm_bridge_init(void *display,
|
|
|
|
- struct drm_encoder *encoder)
|
|
|
|
-{
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-static inline void dp_mst_drm_bridge_deinit(void *display)
|
|
|
|
-{
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-static inline int dp_mst_init(struct dp_display *dp_display)
|
|
|
|
-{
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-static inline int dp_mst_deinit(struct dp_display *dp_display)
|
|
|
|
-{
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif /* _DP_DRM_H_ */
|
|
#endif /* _DP_DRM_H_ */
|