summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2006-08-21 11:24:42 -0600
committerJordan Crouse <jordan.crouse@amd.com>2006-08-21 11:25:21 -0600
commit45eeb43888e92e2736d9b678ce6d67fb99449800 (patch)
treebe81f561c0f26caa0e1f4a52d4d9c5d718bcf35b
parent1665bf4ae01b88bd2d981ebacc306568715ee927 (diff)
PATCH: Clean ups some of the log messages
Remove the useless DDC probe message and only warn when MSR reads don't work.
-rw-r--r--src/amd_gx_driver.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c
index 29d3aa0..00ff8d4 100644
--- a/src/amd_gx_driver.c
+++ b/src/amd_gx_driver.c
@@ -487,7 +487,7 @@ GXPreInit(ScrnInfoPtr pScrni, int flags)
pGeode->pEnt->chipset);
- DEBUGMSG(1, (pScrni->scrnIndex, X_ERROR, "PROBEDDC\n"));
+ /* DEBUGMSG(1, (pScrni->scrnIndex, X_ERROR, "PROBEDDC\n")); */
/* Note that we can't do this without VGA */
@@ -508,7 +508,15 @@ GXPreInit(ScrnInfoPtr pScrni, int flags)
/* See if this a CRT or TFT part */
ret = gfx_msr_read(RC_ID_DF, MBD_MSR_CONFIG, &msrValue);
- DEBUGMSG(1, (pScrni->scrnIndex, X_ERROR, "MSR=%d\n", ret));
+
+ /* We depend heavily on the MSR working, so if it doesn't, there
+ * isn't much we can do but complain and move on
+ */
+
+ if (ret != 0) {
+ DEBUGMSG(1, (pScrni->scrnIndex, X_ERROR,
+ "MSR read failed (ret=%d)\n", ret));
+ }
pGeode->DetectedChipSet =
((msrValue.low & RCDF_CONFIG_FMT_MASK) ==