From f0900658394ec68da688c1a480c7993a64a21ccb Mon Sep 17 00:00:00 2001 From: Mark Yao Date: Thu, 1 Jun 2017 10:26:51 +0800 Subject: [PATCH] drm/rockchip: Don't r-b swap for 32bit logo Change-Id: Id664731fc92fe4b770b49b4c2772e14bdf276cf2 Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1