hw/xwin: Downgrade some uninformative, always-emitted log output to debug

Downgrade from error to debug some uninformative, always-emitted log output
about thread synchronization during initialization

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon Turney 2014-09-26 13:18:33 +01:00
parent 17c8bf348e
commit 1974198382
3 changed files with 8 additions and 8 deletions

View File

@ -70,7 +70,7 @@ winBlockHandler(ScreenPtr pScreen,
if (pScreenPriv != NULL && !pScreenPriv->fServerStarted) {
int iReturn;
ErrorF("winBlockHandler - pthread_mutex_unlock()\n");
winDebug("winBlockHandler - pthread_mutex_unlock()\n");
/* Flag that modules are to be started */
pScreenPriv->fServerStarted = TRUE;

View File

@ -1045,7 +1045,7 @@ winMultiWindowXMsgProc(void *pArg)
pthread_exit(NULL);
}
ErrorF("winMultiWindowXMsgProc - Calling pthread_mutex_lock ()\n");
winDebug("winMultiWindowXMsgProc - Calling pthread_mutex_lock ()\n");
/* Grab the server started mutex - pause until we get it */
iReturn = pthread_mutex_lock(pProcArg->ppmServerStarted);
@ -1055,12 +1055,12 @@ winMultiWindowXMsgProc(void *pArg)
pthread_exit(NULL);
}
ErrorF("winMultiWindowXMsgProc - pthread_mutex_lock () returned.\n");
winDebug("winMultiWindowXMsgProc - pthread_mutex_lock () returned.\n");
/* Release the server started mutex */
pthread_mutex_unlock(pProcArg->ppmServerStarted);
ErrorF("winMultiWindowXMsgProc - pthread_mutex_unlock () returned.\n");
winDebug("winMultiWindowXMsgProc - pthread_mutex_unlock () returned.\n");
/* Setup the display connection string x */
winGetDisplayName(pszDisplay, (int) pProcArg->dwScreen);
@ -1428,7 +1428,7 @@ winInitMultiWindowWM(WMInfoPtr pWMInfo, WMProcArgPtr pProcArg)
pthread_exit(NULL);
}
ErrorF("winInitMultiWindowWM - Calling pthread_mutex_lock ()\n");
winDebug("winInitMultiWindowWM - Calling pthread_mutex_lock ()\n");
/* Grab our garbage mutex to satisfy pthread_cond_wait */
iReturn = pthread_mutex_lock(pProcArg->ppmServerStarted);
@ -1438,12 +1438,12 @@ winInitMultiWindowWM(WMInfoPtr pWMInfo, WMProcArgPtr pProcArg)
pthread_exit(NULL);
}
ErrorF("winInitMultiWindowWM - pthread_mutex_lock () returned.\n");
winDebug("winInitMultiWindowWM - pthread_mutex_lock () returned.\n");
/* Release the server started mutex */
pthread_mutex_unlock(pProcArg->ppmServerStarted);
ErrorF("winInitMultiWindowWM - pthread_mutex_unlock () returned.\n");
winDebug("winInitMultiWindowWM - pthread_mutex_unlock () returned.\n");
/* Setup the display connection string x */
winGetDisplayName(pszDisplay, (int) pProcArg->dwScreen);

View File

@ -246,7 +246,7 @@ ddxProcessArgument(int argc, char *argv[], int i)
* OsVendorInit () gets called, otherwise we will overwrite
* settings changed by parameters such as -fullscreen, etc.
*/
winErrorFVerb(2, "ddxProcessArgument - Initializing default "
winErrorFVerb(3, "ddxProcessArgument - Initializing default "
"screens\n");
winInitializeScreenDefaults();
}