From: Mark Yao Date: Thu, 1 Jun 2017 02:26:51 +0000 (+0800) Subject: drm/rockchip: Don't r-b swap for 32bit logo X-Git-Tag: release-20171130_firefly~4^2~481 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f0900658394ec68da688c1a480c7993a64a21ccb;p=firefly-linux-kernel-4.4.55.git drm/rockchip: Don't r-b swap for 32bit logo Change-Id: Id664731fc92fe4b770b49b4c2772e14bdf276cf2 Signed-off-by: Mark Yao --- diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index 07b3bc67af55..e7a6755b48f8 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c @@ -265,7 +265,7 @@ get_framebuffer_by_node(struct drm_device *drm_dev, struct device_node *node) mode_cmd.pixel_format = DRM_FORMAT_BGR888; break; case 32: - mode_cmd.pixel_format = DRM_FORMAT_XBGR8888; + mode_cmd.pixel_format = DRM_FORMAT_XRGB8888; break; default: pr_err("%s: unsupport to logo bpp %d\n", __func__, bpp);