Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9117
b: refs/heads/master
c: 7a48242
h: refs/heads/master
i:
  9115: 2671336
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Sep 21, 2005
1 parent 34bcf27 commit dad5abc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: c90eef84b8f5c7416cb99ab6907896f2dd392b4d
refs/heads/master: 7a482425f45e695a2e2821b32a887865f016fbf9
1 change: 1 addition & 0 deletions trunk/drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ config FB_NVIDIA
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
select FB_SOFT_CURSOR
help
This driver supports graphics boards with the nVidia chips, TNT
and newer. For very old chipsets, such as the RIVA128, then use
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/video/nvidia/nvidia.c
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ static int nvidiafb_cursor(struct fb_info *info, struct fb_cursor *cursor)
int i, set = cursor->set;
u16 fg, bg;

if (!hwcur || cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
if (cursor->image.width > MAX_CURS || cursor->image.height > MAX_CURS)
return -ENXIO;

NVShowHideCursor(par, 0);
Expand Down Expand Up @@ -1356,6 +1356,9 @@ static int __devinit nvidia_set_fbinfo(struct fb_info *info)
info->pixmap.size = 8 * 1024;
info->pixmap.flags = FB_PIXMAP_SYSTEM;

if (!hwcur)
info->fbops->fb_cursor = soft_cursor;

info->var.accel_flags = (!noaccel);

switch (par->Architecture) {
Expand Down

0 comments on commit dad5abc

Please sign in to comment.