summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/rockchip/rk3399/display.c2
-rw-r--r--src/soc/rockchip/rk3399/include/soc/display.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/soc/rockchip/rk3399/display.c b/src/soc/rockchip/rk3399/display.c
index cc265b2edb..b81e96f0fe 100644
--- a/src/soc/rockchip/rk3399/display.c
+++ b/src/soc/rockchip/rk3399/display.c
@@ -123,7 +123,7 @@ retry_edp:
write32(&rk3399_grf->soc_con20,
RK_CLRBITS((1 << 0) | (1 << 4)));
- panel_data = mainboard_get_mipi_mode(&edid);
+ panel_data = mainboard_get_mipi_mode(&edid.mode);
if (panel_data) {
if (panel_data->mipi_num > 1)
detected_mode = VOP_MODE_DUAL_MIPI;
diff --git a/src/soc/rockchip/rk3399/include/soc/display.h b/src/soc/rockchip/rk3399/include/soc/display.h
index bf90f651a6..494def61d8 100644
--- a/src/soc/rockchip/rk3399/include/soc/display.h
+++ b/src/soc/rockchip/rk3399/include/soc/display.h
@@ -23,5 +23,6 @@
void rk_display_init(device_t dev);
void mainboard_power_on_backlight(void);
-const struct mipi_panel_data *mainboard_get_mipi_mode(struct edid *edid);
+const struct mipi_panel_data *mainboard_get_mipi_mode
+ (struct edid_mode *edid_mode);
#endif