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:
b1abffc
)
rk30 fb: use HAL_PIXEL_FORMAT_XXX defined by android to distinguish data format
author
yxj
<yxj@I7-CH.(none)>
Mon, 26 Mar 2012 03:28:58 +0000
(11:28 +0800)
committer
yxj
<yxj@I7-CH.(none)>
Mon, 26 Mar 2012 03:31:02 +0000
(11:31 +0800)
to display correctly,please sync android update
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index c03ce4b202a761c497bd8c0124835c442680874b..4e5db0f33b4182849a358c3b8e5949ddaa112b84 100644
(file)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-399,7
+399,7
@@
static int rk_fb_set_par(struct fb_info *info)
}
CHK_SUSPEND(inf);
/* calculate y_offset,c_offset,line_length,cblen and crlen */
-#if
0
+#if
1
switch (data_format)
{
case HAL_PIXEL_FORMAT_RGBA_8888 : // rgb