From: Kai J. <b1...@fr...> - 2009-07-10 08:42:28
|
Florian Tobias Schandinat, I think your solution is better. It seems much simple in your way:) Best Regards, Kai Jiang > > I only wanted to highlight, that as far as I can see the same behavior > you want to archive can be archived by changing the current code to: > > fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var) > { > ...... > if (err || !info->fbops->fb_pan_display || > var->yoffset > info->var.yres_virtual - yres || > var->xoffset > info->var.xres_virtual - info->var.xres) > return -EINVAL; > ...... > } |