975,6 → 975,7 |
struct fb_con2fbmap con2fb; |
#endif |
struct fb_cmap cmap; |
struct fb_fillrect rect; |
int i; |
|
if (!fb) |
990,6 → 991,23 |
if (i) return i; |
if (copy_to_user((void *) arg, &var, sizeof(var))) |
return -EFAULT; |
|
rect.dx = 0; |
rect.dy = 0; |
rect.width = info->var.xres; |
rect.height = info->var.yres; |
rect.color = 0; |
rect.rop = ROP_COPY; |
|
cfb_fillrect(info,&rect); |
|
if (info->var.bits_per_pixel >= 8) { |
|
fb_prepare_logo(info); |
fb_show_logo(info); |
|
} |
|
return 0; |
case FBIOGET_FSCREENINFO: |
return copy_to_user((void *) arg, &info->fix, |