/* Due to usage of multiple display related APIs resolution data is located in more than one place. This function updates them all.  */
static void set_resolution_params(int x, int y)
/* Due to usage of multiple display related APIs resolution data is located in more than one place. This function updates them all.  */
static void set_resolution_params(int x, int y)
{
	panel_cfg.lcd_size = PANEL_LCD_SIZE(x, y);
	panel_info.vl_col = x;
	panel_info.vl_row = y;
	lcd_line_length = (panel_info.vl_col * NBITS(panel_info.vl_bpix)) / 8;
}