* don't read shared_info for deviceID before it's populated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43228 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -521,7 +521,7 @@ radeon_hd_init(radeon_info &info)
|
||||
mmioMapper.Detach();
|
||||
|
||||
// *** Populate frame buffer information
|
||||
if (info.shared_info->chipsetID >= RADEON_CEDAR) {
|
||||
if (info.chipsetID >= RADEON_CEDAR) {
|
||||
// Evergreen+ has memory stored in MB
|
||||
info.shared_info->graphics_memory_size
|
||||
= read32(info.registers + CONFIG_MEMSIZE) * 1024;
|
||||
|
||||
Reference in New Issue
Block a user