summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/rk3288/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/rockchip/rk3288/display.c')
-rw-r--r--src/soc/rockchip/rk3288/display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/rockchip/rk3288/display.c b/src/soc/rockchip/rk3288/display.c
index fd86b95d68..19a75de1fd 100644
--- a/src/soc/rockchip/rk3288/display.c
+++ b/src/soc/rockchip/rk3288/display.c
@@ -17,6 +17,7 @@
#include <soc/grf.h>
#include <soc/soc.h>
#include <soc/vop.h>
+#include <framebuffer_info.h>
#include "chip.h"
@@ -124,5 +125,5 @@ void rk_display_init(struct device *dev, u32 lcdbase, unsigned long fb_size)
break;
}
- set_vbe_mode_info_valid(&edid, (uintptr_t)lcdbase);
+ fb_new_framebuffer_info_from_edid(&edid, (uintptr_t)lcdbase);
}