From add7666a47c454df39e86c3782bf736372b765be Mon Sep 17 00:00:00 2001 From: Lin Huang Date: Thu, 23 Nov 2017 08:50:03 +0800 Subject: google/scarlet: support kd097d04 panel Support kd097d04 dual mipi panel on Scarlet. Change-Id: Ie8bc0cbb79840f1924a8cc111f2511292203731f Signed-off-by: Lin Huang Reviewed-on: https://review.coreboot.org/22472 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/rockchip/rk3399/display.c | 2 +- src/soc/rockchip/rk3399/include/soc/display.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/soc/rockchip') 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 -- cgit v1.2.3