GSPGPU:SetAxiConfigQoSMode

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x00100040]
1 Quality of service

Response[edit]

Index Word Description
0 Header code
1 Result code

Quality of service[edit]

Index Bit Description
2-0 Tidemark
15-8 Access control

Description[edit]

This is used to program the QoS (Quality of Service). Tidemark is the maximum allowed number of transactions initiated but not completed with FCRAM, after which next transactions will be limited to certain masters. Access control sets which masters have this privilege. For more info, see CoreLink™ NIC-301 r1p2.

Old systems have a total of 7 masters (guesses are ARM11, ARM9, GPU, DSP, CDMA, CSND, AHB); new systems have 3 additional masters (likely NewCDMA and L2 controller, and an unknown one).

GSP limits the maximum value of tidemark to 7; meanwhile, the maximum value for access control is 2^N-1, 1 bit for each slave interface, where N = number of slave interfaces.

New GSP forces SI7 to be always set.