[haiku-commits] r42929 - haiku/trunk/src/add-ons/accelerants/radeon_hd

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 27 Oct 2011 20:03:02 +0200 (CEST)

Author: kallisti5
Date: 2011-10-27 20:03:02 +0200 (Thu, 27 Oct 2011)
New Revision: 42929
Changeset: https://dev.haiku-os.org/changeset/42929

Modified:
   haiku/trunk/src/add-ons/accelerants/radeon_hd/gpu.cpp
Log:
* bailing when we can't idle the MC is the correct
  behaviour... but while things are incomplete
  it may be better to try and push on.


Modified: haiku/trunk/src/add-ons/accelerants/radeon_hd/gpu.cpp
===================================================================
--- haiku/trunk/src/add-ons/accelerants/radeon_hd/gpu.cpp       2011-10-26 
23:56:40 UTC (rev 42928)
+++ haiku/trunk/src/add-ons/accelerants/radeon_hd/gpu.cpp       2011-10-27 
18:03:02 UTC (rev 42929)
@@ -245,9 +245,9 @@
        
        uint32 idleState = radeon_gpu_mc_idlecheck();
        if (idleState > 0) {
-               TRACE("%s: Cannot modify non-idle MC! idleState: 0x%" B_PRIX32 
"\n",
+               ERROR("%s: Cannot modify non-idle MC! idleState: 0x%" B_PRIX32 
"\n",
                        __func__, idleState);
-               return B_ERROR;
+               //return B_ERROR;
        }
 
        // TODO: Memory Controller AGP
@@ -277,9 +277,9 @@
 
        idleState = radeon_gpu_mc_idlecheck();
        if (idleState > 0) {
-               TRACE("%s: Cannot modify non-idle MC! idleState: 0x%" B_PRIX32 
"\n",
+               ERROR("%s: Cannot modify non-idle MC! idleState: 0x%" B_PRIX32 
"\n",
                        __func__, idleState);
-               return B_ERROR;
+               //return B_ERROR;
        }
        radeon_gpu_mc_resume();
 


Other related posts:

  • » [haiku-commits] r42929 - haiku/trunk/src/add-ons/accelerants/radeon_hd - kallisti5