diff options
author | Dave Airlie <airlied@linux.ie> | 2006-09-22 07:05:56 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-22 07:05:56 +1000 |
commit | 7a0e4eb47655c4701fc3a4b33b6c8e9f378ccc9e (patch) | |
tree | b6c3ec0d2875ad23ac75854a0835f39834958351 /src/radeon_display.c | |
parent | 75bf69c868be6164d0041a32f52244f1ef83e050 (diff) |
radeon: add some info to the map controllers
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r-- | src/radeon_display.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c index 930c9b18..f0293013 100644 --- a/src/radeon_display.c +++ b/src/radeon_display.c @@ -1269,7 +1269,21 @@ BOOL RADEONQueryConnectedMonitors(ScrnInfoPtr pScrn) Bool RADEONMapControllers(ScrnInfoPtr pScrn) { - return RADEONQueryConnectedMonitors(pScrn); + Bool head_reversed = FALSE; + RADEONInfoPtr info = RADEONPTR(pScrn); + RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn); + unsigned char *RADEONMMIO = info->MMIO; + RADEONQueryConnectedMonitors(pScrn); + + if (!info->IsSecondary) { + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "---- Primary Head: Port%d ---- \n", head_reversed?2:1); + if (pRADEONEnt->Controller[1].pPort->MonType != MT_NONE) + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "---- Secondary Head: Port%d ----\n", head_reversed?1:2); + else + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "---- Secondary Head: Not used ----\n"); + } + + return TRUE; } /* |