Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d37455b authored by Lei Chen's avatar Lei Chen Committed by Gerrit - the friendly Code Review server
Browse files

fbdev: msm: Set RGB565 as default mode for QPIC display



QPIC display uses RGB565 format as default mode, so set
framebuffer default format to RGB565.

Change-Id: Icfd17d3b01f6cf377af32474f54875bf755bdec1
Signed-off-by: default avatarLei Chen <chenlei@codeaurora.org>
parent 33eaa278
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
 * Core MDSS framebuffer driver.
 *
 * Copyright (C) 2007 Google Incorporated
 * Copyright (c) 2008-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2008-2019, The Linux Foundation. All rights reserved.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
@@ -1284,7 +1284,7 @@ static int mdss_fb_probe(struct platform_device *pdev)

	mfd->pdev = pdev;

	if (mfd->panel.type == SPI_PANEL)
	if (mfd->panel.type == SPI_PANEL || mfd->panel.type == EBI2_PANEL)
		mfd->fb_imgType = MDP_RGB_565;

	mfd->split_fb_left = mfd->split_fb_right = 0;