Hardware/GX2

From WiiUBrew
< Hardware
Revision as of 20:39, 14 January 2020 by Hexkyz (talk | contribs) (Proper GX2 page)
Jump to navigation Jump to search
GX2
Access
EspressoFull
StarbuckFull
Registers
Base0x0c200000
Length0x80000
Access size32 bits
Byte orderBig Endian
IRQs
Espresso2
This box: view  talk  edit

The GX2 is the Wii U's main graphics processor, semantically a part of the Latte despite being used directly by the Espresso. The chip is a member of the Radeon R7xx family [1] (used in the Radeon HD 4330) clocked at 549.999775MHz.[2]. While documentation perfectly matching the card is yet to be found, several documents can be brought together to form a reasonable picture of the register layout.

Reverse-engineering has revealed that the GX2's MMIO registers (referred to as GpuF0MMReg in AMD's docs) are at 0x0c200000; mapped at 0xfc200000 in Cafe OS userspace. The other MMIO locations (GpuF0Pcie, VGA_IO) are not known at this point.

Register guide for a similar, but not identical, card. Covers 2D graphics, CRTCs, the memory controller, etc. Does not cover 3D. Addresses for registers starting with D1 are known to match the GX2 - this reference has been successfully used to set up a framebuffer without Cafe OS running. There's evidence of another display not mentioned in this document - see the Cafe OS section below.
3D register guide. Applies to the whole R7xx family, so there should be no differences for the GX2.[check] Has not been tried on hardware at time of writing.
Conceptual document explaining how to actually use the 3D engine, shader pipelines, caches, etc. Names registers, but does not give addresses (readers should cross-reference the 3D Register Reference Guide)

Not to be confused with gx2.rpl, the API for interacting with the card. Also see GX2 Registers.

References