Improve GPU memory controller setup on later chips

* Fix bug where we setup MC twice on Evergreen+
* Northern Island chipsets use the Evergreen MC setup (just cosmetic)
This commit is contained in:
Alexander von Gluck IV 2011-11-20 16:32:59 -06:00
parent b07517d9ed
commit 021332df5d

View File

@ -486,9 +486,11 @@ radeon_gpu_mc_setup()
TRACE("%s: vramStart: 0x%" B_PRIX64 ", vramEnd: 0x%" B_PRIX64 "\n",
__func__, gInfo->fb.vramStart, gInfo->fb.vramEnd);
if (info.chipsetID >= RADEON_CEDAR)
if (info.chipsetID >= RADEON_CAYMAN)
return radeon_gpu_mc_setup_evergreen(); // also for ni
else if (info.chipsetID >= RADEON_CEDAR)
return radeon_gpu_mc_setup_evergreen();
if (info.chipsetID >= RADEON_RV770)
else if (info.chipsetID >= RADEON_RV770)
return radeon_gpu_mc_setup_r700();
else if (info.chipsetID >= RADEON_R600)
return radeon_gpu_mc_setup_r600();