summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorLin Huang <hl@rock-chips.com>2017-11-23 08:50:03 +0800
committerJulius Werner <jwerner@chromium.org>2017-11-28 19:17:56 +0000
commitadd7666a47c454df39e86c3782bf736372b765be (patch)
treed18b39c2e20cf91c2dcfb525c3f3d7b0bc0da0f8 /src/soc
parent18617bf21b22126f3f6761c5e0c35010362d791e (diff)
downloadcoreboot-add7666a47c454df39e86c3782bf736372b765be.tar.xz
google/scarlet: support kd097d04 panel
Support kd097d04 dual mipi panel on Scarlet. Change-Id: Ie8bc0cbb79840f1924a8cc111f2511292203731f Signed-off-by: Lin Huang <hl@rock-chips.com> Reviewed-on: https://review.coreboot.org/22472 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
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