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

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 26 Oct 2011 16:11:24 +0200 (CEST)

Author: kallisti5
Date: 2011-10-26 16:11:24 +0200 (Wed, 26 Oct 2011)
New Revision: 42925
Changeset: https://dev.haiku-os.org/changeset/42925

Modified:
   haiku/trunk/src/add-ons/accelerants/radeon_hd/gpu.cpp
Log:
* lets idle the memory controller before checking if it's idle


Modified: haiku/trunk/src/add-ons/accelerants/radeon_hd/gpu.cpp
===================================================================
--- haiku/trunk/src/add-ons/accelerants/radeon_hd/gpu.cpp       2011-10-26 
04:51:51 UTC (rev 42924)
+++ haiku/trunk/src/add-ons/accelerants/radeon_hd/gpu.cpp       2011-10-26 
14:11:24 UTC (rev 42925)
@@ -241,6 +241,8 @@
        Write32(OUT, HDP_REG_COHERENCY_FLUSH_CNTL, 0);
 
        // idle the memory controller
+       radeon_gpu_mc_halt();
+       
        uint32 idleState = radeon_gpu_mc_idlecheck();
        if (idleState > 0) {
                TRACE("%s: Cannot modify non-idle MC! idleState: 0x%" B_PRIX32 
"\n",


Other related posts:

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