summaryrefslogtreecommitdiffstats
path: root/drivers/video/intelfb/intelfbhw.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-03-20 20:26:45 +1100
committerDave Airlie <airlied@linux.ie>2006-04-03 11:43:27 +1000
commitd024960cff5173bef6e83c01cf9cd2763c2c0ab0 (patch)
treea63dfaf6de88b82b2aaf892e741881e4e602befb /drivers/video/intelfb/intelfbhw.h
parent7258b11d2e9a47d2b01620622579f22906960e1a (diff)
intelfb: add pll index to the intelfb structure
Add the pll index into the information structure, change get_chipset to take only the info structure, use plls in correct places
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 e3c305c66d5..a3ec8f92eb6 100644
--- a/drivers/video/intelfb/intelfbhw.h
+++ b/drivers/video/intelfb/intelfbhw.h
@@ -158,12 +158,6 @@
#define MIN_CLOCK 25000
#define MAX_CLOCK 350000
-#define CALC_VCLOCK(m1, m2, n, p1, p2) \
- ((PLL_REFCLK * (5 * ((m1) + 2) + ((m2) + 2)) / ((n) + 2)) / \
- (((p1) + 2) * (1 << (p2 + 1))))
-
-#define CALC_VCLOCK3(m, n, p) ((PLL_REFCLK * (m) / (n)) / (p))
-
/* Two pipes */
#define PIPE_A 0
#define PIPE_B 1
@@ -507,8 +501,7 @@
/* function protoypes */
-extern int intelfbhw_get_chipset(struct pci_dev *pdev, const char **name,
- int *chipset, int *mobile);
+extern int intelfbhw_get_chipset(struct pci_dev *pdev, struct intelfb_info *dinfo);
extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
int *stolen_size);
extern int intelfbhw_check_non_crt(struct intelfb_info *dinfo);