1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
12 #if defined(CONFIG_DEBUG_FS)
15 * msm_dp_debug_get() - configure and get the DisplayPlot debug module data
17 * @dev: device instance of the caller
18 * @panel: instance of panel module
19 * @link: instance of link module
20 * @connector: double pointer to display connector
21 * @root: connector's debugfs root
22 * @is_edp: set for eDP connectors / panels
23 * return: pointer to allocated debug module data
25 * This function sets up the debug module and provides a way
26 * for debugfs input to be communicated with existing modules
28 int msm_dp_debug_init(struct device *dev, struct msm_dp_panel *panel,
29 struct msm_dp_link *link,
30 struct drm_connector *connector,
37 int msm_dp_debug_init(struct device *dev, struct msm_dp_panel *panel,
38 struct msm_dp_link *link,
39 struct drm_connector *connector,
46 #endif /* defined(CONFIG_DEBUG_FS) */
48 #endif /* _DP_DEBUG_H_ */