projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670e75d
)
drm/rockchip: Don't r-b swap for 32bit logo
author
Mark Yao
<mark.yao@rock-chips.com>
Thu, 1 Jun 2017 02:26:51 +0000
(10:26 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Thu, 1 Jun 2017 06:29:08 +0000
(14:29 +0800)
Change-Id: Id664731fc92fe4b770b49b4c2772e14bdf276cf2
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c
index 07b3bc67af55cd2cea1722e60b757dd0cf6a21b7..e7a6755b48f89c567bf985079650ea4bdc02597d 100644
(file)
--- 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_X
BGR
8888;
+ mode_cmd.pixel_format = DRM_FORMAT_X
RGB
8888;
break;
default:
pr_err("%s: unsupport to logo bpp %d\n", __func__, bpp);