Line 420: |
Line 420: |
| Configurations 0x10001 and 0x20000 are only available while docked. Configurations 0x10002 and 0x20002 are only available for SDEV units. | | Configurations 0x10001 and 0x20000 are only available while docked. Configurations 0x10002 and 0x20002 are only available for SDEV units. |
| | | |
− | = fgm, fgm:0, fgm:9 = | + | = fgm, fgm:0, fgm:1, fgm:2, fgm:3, fgm:4, fgm:5, fgm:6, fgm:7, fgm:9 = |
− | This is "nn::fgm::sf::ISession".
| + | These are "nn::fgm::sf::ISession". |
| + | |
| + | Each service represents a different priority from 0 to 9. The "fgm" service represents priority 8 (default). |
| + | |
| + | [2.0.0+] Only "fgm", "fgm:0" and "fgm:9" are now valid. |
| | | |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
Line 427: |
Line 431: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 0 || Initialize | + | | 0 || [[#Initialize]] |
| |} | | |} |
| + | |
| + | == Initialize == |
| + | No input. Returns an [[#IRequest]]. |
| | | |
| == IRequest == | | == IRequest == |
Line 437: |
Line 444: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 0 || Initialize | + | | 0 || [[#Initialize_2|Initialize]] |
| |- | | |- |
− | | 1 || Set | + | | 1 || [[#Set|Set]] |
| |- | | |- |
− | | 2 || Get | + | | 2 || [[#Get|Get]] |
| |- | | |- |
− | | 3 || Cancel | + | | 3 || [[#Cancel|Cancel]] |
| |} | | |} |
| + | |
| + | === Initialize === |
| + | Takes a PID-descriptor, an [[#Module]] and an u64. Returns an Event handle with EventClearMode 0. |
| + | |
| + | === Set === |
| + | Takes 2 u32s '''ClockMinRate''' and '''ClockMaxRate'''. No output. |
| + | |
| + | === Get === |
| + | No input. Returns an u32 '''ClockRate'''. |
| + | |
| + | === Cancel === |
| + | No input/output. |
| | | |
| = fgm:dbg = | | = fgm:dbg = |
Line 458: |
Line 477: |
| |- | | |- |
| | 2 || Cancel | | | 2 || Cancel |
| + | |} |
| + | |
| + | = Module = |
| + | This is "nn::fgm::Module". |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Name || Block |
| + | |- |
| + | | 0 || CPU |
| + | |- |
| + | | 1 || GPU |
| + | |- |
| + | | 2 || EMC |
| + | |- |
| + | | 3 || SCLK |
| + | |- |
| + | | 4 || MSELECT |
| + | |- |
| + | | 5 || NVDEC |
| + | |- |
| + | | 6 || NVENC |
| + | |- |
| + | | 7 || NVJPG |
| |} | | |} |
| | | |