Skip to content
Snippets Groups Projects
Commit 15f134c6 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

i965: Fix BRW_MEMZONE_LOW_4G heap size.


The STATE_BASE_ADDRESS "Size" fields can only hold 0xfffff in pages,
and 0xfffff * 4096 = 4294963200, which is 1 page shy of 4GB.

So we can't use the top page.

Fixes: 01058a55 i965: Add virtual memory allocator infrastructure to brw_bufmgr.
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
parent e8c74a1e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment