From: Albert H. <he...@us...> - 2009-03-02 18:42:35
|
Update of /cvsroot/gc-linux/linux/drivers/video In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1453/drivers/video Modified Files: gcnfb.c Log Message: [PATCH] gcn-vifb: add video mode timings setup (1) From: Albert Herranz <alb...@ya...> Date: Sun, 1 Mar 2009 19:32:50 +0100 Subject: [PATCH] gcn-vifb: add video mode timings setup Add support for configuring the Video Interface (VI) hardware of the Nintendo GameCube and Wii video game consoles with the right timing settings for a video mode. Prior to this patch, a static video mode with pre-calculated settings was enforced at boot time and could not be changed afterwards. (1) This patch removes too the GX glue code from the gcn-vifb driver. Signed-off-by: Albert Herranz <alb...@ya...> Index: gcnfb.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/video/gcnfb.c,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** gcnfb.c 1 Feb 2009 18:29:35 -0000 1.22 --- gcnfb.c 2 Mar 2009 18:42:27 -0000 1.23 *************** *** 37,41 **** "Albert Herranz" ! static char vifb_driver_version[] = "1.0i"; #define drv_printk(level, format, arg...) \ --- 37,41 ---- "Albert Herranz" ! static char vifb_driver_version[] = "2.0i"; [...2104 lines suppressed...] ! ! #ifndef MODULE ! if (fb_get_options(DRV_MODULE_NAME, &option)) ! return -ENODEV; ! if (!option) { /* for backwards compatibility */ if (fb_get_options("gcnfb", &option)) return -ENODEV; } ! error = vifb_setup(option); #endif return of_register_platform_driver(&vifb_of_driver); } *************** *** 1085,1087 **** MODULE_AUTHOR(DRV_AUTHOR); MODULE_LICENSE("GPL"); - --- 1886,1887 ---- |