diff options
author | Andy Green <andy.green@linaro.org> | 2011-10-25 17:26:53 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-25 17:26:53 +0800 |
commit | b2cef7400e2b7c343836c68276a4234fe9b9a719 (patch) | |
tree | 2af1c7584e74d5002568db26620e8d988e06a505 | |
parent | d4f9a73339db1b6667e95af85c7b6f5496a74581 (diff) |
debug quench pvr init debugandroid-release-2011-10-2android-mainline-2011-10-2
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | drivers/gpu/pvr/module.c | 30 | ||||
-rw-r--r-- | drivers/gpu/pvr/omap4/sysconfig.c | 2 |
2 files changed, 0 insertions, 32 deletions
diff --git a/drivers/gpu/pvr/module.c b/drivers/gpu/pvr/module.c index 2cfc77d1d86..dcbb1b6f506 100644 --- a/drivers/gpu/pvr/module.c +++ b/drivers/gpu/pvr/module.c @@ -240,8 +240,6 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device { SYS_DATA *psSysData; - pr_err("*********** PVRSRVDriverProbe\n"); - PVR_TRACE(("PVRSRVDriverProbe(pDevice=%p)", pDevice)); #if 0 @@ -257,9 +255,6 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device { gpsPVRLDMDev = pDevice; - pr_err("********** calling SysInitialise\n"); - - if (SysInitialise() != PVRSRV_OK) { return -ENODEV; @@ -529,7 +524,6 @@ int PVRCore_Init(void) PVRDPFInit(); #endif - pr_err("************************ PVRCore_Init\n"); LinuxInitMutex(&gPVRSRVLock); @@ -539,36 +533,22 @@ int PVRCore_Init(void) return error; } - pr_err("************************ PVRCore_Init 2\n"); - if (PVROSFuncInit() != PVRSRV_OK) { error = -ENOMEM; goto init_failed; } - pr_err("************************ PVRCore_Init 3\n"); - - PVRLinuxMUtilsInit(); - pr_err("************************ PVRCore_Init 4\n"); - - if(LinuxMMInit() != PVRSRV_OK) { error = -ENOMEM; goto init_failed; } - pr_err("************************ PVRCore_Init 5\n"); - - LinuxBridgeInit(); - pr_err("************************ PVRCore_Init 6\n"); - - PVRMMapInit(); #if defined(PVR_LDM_MODULE) @@ -584,8 +564,6 @@ int PVRCore_Init(void) //#if defined(MODULE) && !defined(PVR_USE_PRE_REGISTERED_PLATFORM_DEV) #if !defined(PVR_USE_PRE_REGISTERED_PLATFORM_DEV) - pr_err("****************** Registering device\n"); - if ((error = platform_device_register(&powervr_device)) != 0) { platform_driver_unregister(&powervr_driver); @@ -597,9 +575,6 @@ int PVRCore_Init(void) #endif #endif - pr_err("************************ PVRCore_Init 7\n"); - - #if defined(PVR_LDM_PCI_MODULE) if ((error = pci_register_driver(&powervr_driver)) != 0) { @@ -611,9 +586,6 @@ int PVRCore_Init(void) #else - pr_err("************************ PVRCore_Init 8\n"); - - if ((eError = SysInitialise()) != PVRSRV_OK) { error = -ENODEV; @@ -703,8 +675,6 @@ sys_deinit: #endif init_failed: - pr_err("************************ PVRCore_Init FAILED\n"); - PVRMMapCleanup(); LinuxMMCleanup(); LinuxBridgeDeInit(); diff --git a/drivers/gpu/pvr/omap4/sysconfig.c b/drivers/gpu/pvr/omap4/sysconfig.c index c0b6e79405c..bd6a3006fcd 100644 --- a/drivers/gpu/pvr/omap4/sysconfig.c +++ b/drivers/gpu/pvr/omap4/sysconfig.c @@ -285,8 +285,6 @@ PVRSRV_ERROR SysInitialise(IMG_VOID) SGX_TIMING_INFORMATION* psTimingInfo; #endif - pr_err("++++++++++ SysInitialise\n"); - gpsSysData = &gsSysData; OSMemSet(gpsSysData, 0, sizeof(SYS_DATA)); |