patch-2.3.29 linux/drivers/video/fbmem.c

Next file: linux/drivers/video/fbmon.c
Previous file: linux/drivers/video/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/drivers/video/fbmem.c linux/drivers/video/fbmem.c
@@ -674,39 +674,6 @@
 			fb_drivers[i].init();
 }
 
-
-int fbmon_valid_timings(u_int pixclock, u_int htotal, u_int vtotal,
-			const struct fb_info *fb_info)
-{
-#if 0
-	/*
-	 * long long divisions .... $#%%#$ 
-	 */
-    unsigned long long hpicos, vpicos;
-    const unsigned long long _1e12 = 1000000000000ULL;
-    const struct fb_monspecs *monspecs = &fb_info->monspecs;
-
-    hpicos = (unsigned long long)htotal*(unsigned long long)pixclock;
-    vpicos = (unsigned long long)vtotal*(unsigned long long)hpicos;
-    if (!vpicos)
-	return 0;
-
-    if (monspecs->hfmin == 0)
-	return 1;
-
-    if (hpicos*monspecs->hfmin > _1e12 || hpicos*monspecs->hfmax < _1e12 ||
-	vpicos*monspecs->vfmin > _1e12 || vpicos*monspecs->vfmax < _1e12)
-	return 0;
-#endif
-    return 1;
-}
-
-int fbmon_dpms(const struct fb_info *fb_info)
-{
-    return fb_info->monspecs.dpms;
-}
-
-
     /*
      *  Command line options
      */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)