diff options
author | Eric Anholt <eric@anholt.net> | 2009-04-21 14:53:45 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-21 15:28:59 -0700 |
commit | ab2c988767aec854d3c1702bee1e5a06bd00870c (patch) | |
tree | 46484102737c87dad9f82d07d0ad8fe90351a782 | |
parent | 928a37041defcca6f57f9452ba62e67524cb4510 (diff) |
Remove dead monitor detect debugger.
watch xrandr works fine.
-rw-r--r-- | src/i830_driver.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 16a8a57b..fabf94a6 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -3831,42 +3831,6 @@ i830_pipe_to_crtc(ScrnInfoPtr pScrn, int pipe) return NULL; } -#if 0 -/** - * This function is used for testing of the screen detect functions from the - * periodic timer. - */ -static void -i830MonitorDetectDebugger(ScrnInfoPtr pScrn) -{ - Bool found_crt; - I830Ptr pI830 = I830PTR(pScrn); - int start, finish, i; - - if (!pScrn->vtSema) - return 1000; - - for (i = 0; i < xf86_config->num_output; i++) { - enum output_status ret; - char *result; - - start = GetTimeInMillis(); - ret = pI830->output[i].detect(pScrn, &pI830->output[i]); - finish = GetTimeInMillis(); - - if (ret == OUTPUT_STATUS_CONNECTED) - result = "connected"; - else if (ret == OUTPUT_STATUS_DISCONNECTED) - result = "disconnected"; - else - result = "unknown"; - - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Detected SDVO as %s in %dms\n", - result, finish - start); - } -} -#endif - void i830WaitSync(ScrnInfoPtr pScrn) { |