Hi James !
How is a driver supposed to set the default mode on init lately ?
Looking at rivafb, it fills info->var from fb_find_mode with the mode
option if any, but then does nothing with it (and does nothing if
no mode option is passed).
On radeonfb, I fill a var with the default mode obtained
from EDID or the option if any. Then, I basically do
info->var = var;
var.activate = FB_ACTIVATE_NOW;
fb_set_var(&var, info);
before calling register_framebuffer.
What is the right way to do ?
Ben.
|