Skip to content
Snippets Groups Projects
Commit fd27561c authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Juan A. Suárez
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>
(cherry picked from commit 15f134c6)
parent 5d72a334
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