diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2006-12-08 05:40:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:08 -0500 |
commit | 53d53bd4ab3fd1498f728fa96635ab95d1ec8ba0 (patch) | |
tree | 7da8b278d058bbcbfc25f26aa38c2014cadcdfc5 /drivers/video/geode/gxfb_core.c | |
parent | 16ef9870959621fa437d25ead28a7199acc6ce49 (diff) |
[PATCH] gxfb: Fixup flatpanel detection
Use the right MSR and bits to detect if the GX is strapped for TFT or CRT
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Acked-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/geode/gxfb_core.c')
-rw-r--r-- | drivers/video/geode/gxfb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/geode/gxfb_core.c b/drivers/video/geode/gxfb_core.c index 47a68802e94f..cf841efa229a 100644 --- a/drivers/video/geode/gxfb_core.c +++ b/drivers/video/geode/gxfb_core.c | |||
@@ -328,7 +328,7 @@ static int __init gxfb_probe(struct pci_dev *pdev, const struct pci_device_id *i | |||
328 | 328 | ||
329 | rdmsrl(GLD_MSR_CONFIG, val); | 329 | rdmsrl(GLD_MSR_CONFIG, val); |
330 | 330 | ||
331 | if (val & GLD_MSR_CONFIG_FMT_FP) | 331 | if ((val & GLD_MSR_CONFIG_DM_FP) == GLD_MSR_CONFIG_DM_FP) |
332 | par->enable_crt = 0; | 332 | par->enable_crt = 0; |
333 | else | 333 | else |
334 | par->enable_crt = 1; | 334 | par->enable_crt = 1; |