Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126385
b: refs/heads/master
c: 6875145
h: refs/heads/master
i:
  126383: a15cc32
v: v3
  • Loading branch information
Hannes Eder authored and Linus Torvalds committed Jan 6, 2009
1 parent 7274b06 commit 11fbb85
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 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: 6405141fb3d06ec4a50d054a113e3317cad054f9
refs/heads/master: 6875145940efdc9851df8aaa251453d33cda62a4
12 changes: 8 additions & 4 deletions trunk/drivers/video/nvidia/nv_accel.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,10 @@ void nvidiafb_copyarea(struct fb_info *info, const struct fb_copyarea *region)
if (info->state != FBINFO_STATE_RUNNING)
return;

if (par->lockup)
return cfb_copyarea(info, region);
if (par->lockup) {
cfb_copyarea(info, region);
return;
}

NVDmaStart(info, par, BLIT_POINT_SRC, 3);
NVDmaNext(par, (region->sy << 16) | region->sx);
Expand All @@ -319,8 +321,10 @@ void nvidiafb_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
if (info->state != FBINFO_STATE_RUNNING)
return;

if (par->lockup)
return cfb_fillrect(info, rect);
if (par->lockup) {
cfb_fillrect(info, rect);
return;
}

if (info->var.bits_per_pixel == 8)
color = rect->color;
Expand Down

0 comments on commit 11fbb85

Please sign in to comment.