summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/imx/hdp/imx-dp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/imx/hdp/imx-dp.h')
-rw-r--r--drivers/gpu/drm/imx/hdp/imx-dp.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/hdp/imx-dp.h b/drivers/gpu/drm/imx/hdp/imx-dp.h
new file mode 100644
index 000000000000..bc2bc9b18b79
--- /dev/null
+++ b/drivers/gpu/drm/imx/hdp/imx-dp.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2017-2018 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+#ifndef _IMX_DP_H_
+#define _IMX_DP_H_
+
+void dp_fw_load(state_struct *state);
+int dp_fw_init(state_struct *state);
+void dp_mode_set(state_struct *state,
+ struct drm_display_mode *mode,
+ int format, int color_depth,
+ int max_link_rate);
+int dp_phy_init(state_struct *state,
+ struct drm_display_mode *mode,
+ int format,
+ int color_depth);
+int dp_phy_init_t28hpc(state_struct *state,
+ struct drm_display_mode *mode,
+ int format,
+ int color_depth);
+int dp_get_edid_block(void *data, u8 *buf, u32 block, size_t len);
+int dp_get_hpd_state(state_struct *state, u8 *hpd);
+
+#endif