Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271203
b: refs/heads/master
c: 9f1b3eb
h: refs/heads/master
i:
  271201: 07bed4a
  271199: 6949bb7
v: v3
  • Loading branch information
Laurent Pinchart committed Aug 19, 2011
1 parent 3f0bcd7 commit 977afdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 23dc8b1c07f75427510d56fa7c263dd1371ec2e4
refs/heads/master: 9f1b3ebbce04dc61986a1b3b41b0f1b1a77a5cc4
6 changes: 3 additions & 3 deletions trunk/drivers/video/mx3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1062,15 +1062,15 @@ static int mx3fb_pan_display(struct fb_var_screeninfo *var,
y_bottom = var->yoffset;

if (!(var->vmode & FB_VMODE_YWRAP))
y_bottom += var->yres;
y_bottom += fbi->var.yres;

if (y_bottom > fbi->var.yres_virtual)
return -EINVAL;

mutex_lock(&mx3_fbi->mutex);

offset = (var->yoffset * var->xres_virtual + var->xoffset) *
(var->bits_per_pixel / 8);
offset = var->yoffset * fbi->fix.line_length
+ var->xoffset * (fbi->var.bits_per_pixel / 8);
base = fbi->fix.smem_start + offset;

dev_dbg(fbi->device, "Updating SDC BG buf %d address=0x%08lX\n",
Expand Down

0 comments on commit 977afdd

Please sign in to comment.