Confirmed through testing: the X driver actually does it incorrectly,

the GTT is not part of the stolen memory. However, the BIOS popup seems
to be - removing that page solves the flickering overlay when its buffer
contained it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23799 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-01-31 18:51:29 +00:00
parent 78fa3affbc
commit 8708a92e8d

View File

@ -187,9 +187,7 @@ determine_memory_sizes(intel_info &info, size_t &gttSize, size_t &stolenSize)
}
}
// TODO: this is probably wrong after all (taken from X driver)
// the stolen memory does not host the GTT!
stolenSize = memorySize /*- gttSize - 4096*/;
stolenSize = memorySize - 4096;
}