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:
0c7bb45
)
rk29-fb: fix a bug of video rotation
author
yzq
<yzq@rock-chips.com>
Mon, 22 Aug 2011 07:29:10 +0000
(15:29 +0800)
committer
yzq
<yzq@rock-chips.com>
Mon, 22 Aug 2011 07:29:10 +0000
(15:29 +0800)
drivers/video/rk29_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rk29_fb.c
b/drivers/video/rk29_fb.c
index 9bb8a6164f550327c06f9fb5782da535773148d1..a254ade2f966f7e61698e34448ff073d22575529 100755
(executable)
--- a/
drivers/video/rk29_fb.c
+++ b/
drivers/video/rk29_fb.c
@@
-1981,8
+1981,8
@@
static int fb1_set_par(struct fb_info *info)
ipp_req.dst0.CbrMst = inf->fb0->fix.mmio_start + screen->x_res*screen->y_res*(2*dstoffset+1);
// if(var->xres > screen->x_res)
// {
- ipp_req.dst0.w =
var->x
res;
- ipp_req.dst0.h =
var->y
res;
+ ipp_req.dst0.w =
screen->x_
res;
+ ipp_req.dst0.h =
screen->y_
res;
// } else {
// ipp_req.dst0.w = var->yres;
// ipp_req.dst0.h = var->xres;