Sets up the display mode? In the 3.15 firmware, this function doesn’t actually do anything.
It takes 3 32bit parameters but then doesn’t do anything with them. Always returns 0.
This is a specific operation of the generic operation lv1_gpu_context_attribute(...);
status = lv1_gpu_context_attribute(0x0,L1GPU_CONTEXT_ATTRIBUTE_DISPLAY_MODE_SET, 0, 0, 1, 0);
| Inputs | |
|---|---|
| Register | Description |
| R3 | ps3fb.context_handle as allocated by lv1_gpu_context_allocate theoretically. The Kernel actually passes 0 for this operation, so it must not be required. |
| R4 | operation_code - L1GPU_CONTEXT_ATTRIBUTE_DISPLAY_MODE_SET (0×100) |
| R5 | p1 - 0 - Unknown. |
| R6 | p2 - 0 - Unknown. |
| R7 | head - 0 = Head A (Unfitted to the Retail PS3), 1 = Head B the active head on the PS3. |
| R8 | p4 - 0 - unused. |
| Outputs | |
| Register | Description |
| R3 | Status - 0 = OK, Other values are unknown, but indicate failure. |