User:Greasemonkey/Intel GenX: Difference between revisions

→‎Allocating space for the GTT: According to the HD 2010 ("Gen6" as well!) docs, the GTTADR requirement is mid-Gen4.
(:%s/AGP/stolen memory/g)
(→‎Allocating space for the GTT: According to the HD 2010 ("Gen6" as well!) docs, the GTTADR requirement is mid-Gen4.)
Line 247:
 
===Allocating space for the GTT===
====Early Gen4.5====
Allocate a block of memory in the stolen memory space. 512KB is the largest you can use for the GTT, and allows for a 512MB virtual addressing space. Ensure that the block of memory is aligned with its size.
 
Line 268:
Also note that direct access to the stolen memory via GMADR also uses the physical unmapped addresses.
 
====Gen4 "Bearlake-C" (G35?) and onwards====
====Gen6====
''TODO: Actually test this and make it work''
 
Don't allocate it. The chip allocates it for you. Just leave the upper 31:12 in PGTBL_CTL intact when you mess with it. Once you have identity paging in place, set the lower bit.
 
Of course, if you are paranoid, you can always allocate some memory anyway.
Consult your manual for what the paging types are actually for. Note, they will be called 1 and 2.
 
Paging types are as per pre-Gen6. Gen6 has different paging types, apparently.
 
===Identity paging===
Anonymous user