aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/intelfb/intelfbhw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/intelfb/intelfbhw.h')
-rw-r--r--drivers/video/intelfb/intelfbhw.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/video/intelfb/intelfbhw.h b/drivers/video/intelfb/intelfbhw.h
index e3c305c66d5c..a3ec8f92eb64 100644
--- a/drivers/video/intelfb/intelfbhw.h
+++ b/drivers/video/intelfb/intelfbhw.h
@@ -158,12 +158,6 @@
158#define MIN_CLOCK 25000 158#define MIN_CLOCK 25000
159#define MAX_CLOCK 350000 159#define MAX_CLOCK 350000
160 160
161#define CALC_VCLOCK(m1, m2, n, p1, p2) \
162 ((PLL_REFCLK * (5 * ((m1) + 2) + ((m2) + 2)) / ((n) + 2)) / \
163 (((p1) + 2) * (1 << (p2 + 1))))
164
165#define CALC_VCLOCK3(m, n, p) ((PLL_REFCLK * (m) / (n)) / (p))
166
167/* Two pipes */ 161/* Two pipes */
168#define PIPE_A 0 162#define PIPE_A 0
169#define PIPE_B 1 163#define PIPE_B 1
@@ -507,8 +501,7 @@
507 501
508 502
509/* function protoypes */ 503/* function protoypes */
510extern int intelfbhw_get_chipset(struct pci_dev *pdev, const char **name, 504extern int intelfbhw_get_chipset(struct pci_dev *pdev, struct intelfb_info *dinfo);
511 int *chipset, int *mobile);
512extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size, 505extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
513 int *stolen_size); 506 int *stolen_size);
514extern int intelfbhw_check_non_crt(struct intelfb_info *dinfo); 507extern int intelfbhw_check_non_crt(struct intelfb_info *dinfo);