Made the primary ring buffer for the acceleration commands a bit larger (16 KB);
this is mostly done because of the fact that I haven't tested how full it usually is, and since I haven't implemented checking for free space yet... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17423 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -183,10 +183,10 @@ intel_extreme_init(intel_info &info)
|
|||||||
// write combining...
|
// write combining...
|
||||||
|
|
||||||
ring_buffer &primary = info.shared_info->primary_ring_buffer;
|
ring_buffer &primary = info.shared_info->primary_ring_buffer;
|
||||||
if (mem_alloc(info.memory_manager, B_PAGE_SIZE, &info,
|
if (mem_alloc(info.memory_manager, 4 * B_PAGE_SIZE, &info,
|
||||||
&primary.handle, &primary.offset) == B_OK) {
|
&primary.handle, &primary.offset) == B_OK) {
|
||||||
primary.register_base = INTEL_PRIMARY_RING_BUFFER;
|
primary.register_base = INTEL_PRIMARY_RING_BUFFER;
|
||||||
primary.size = B_PAGE_SIZE;
|
primary.size = 4 * B_PAGE_SIZE;
|
||||||
primary.base = info.graphics_memory + primary.offset;
|
primary.base = info.graphics_memory + primary.offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user