Sets up some sort of Display Sync attribute mode.
This is a specific operation of the generic operation lv1_gpu_context_attribute(...);
status = lv1_gpu_context_attribute(0x0,L1GPU_CONTEXT_ATTRIBUTE_DISPLAY_SYNC, head, L1GPU_DISPLAY_SYNC_VSYNC, 0, 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_SYNC (0×101) |
| R5 | head - 0 = Head A (Unfitted to the PC), 1 = Head B the active head on the PS3. |
| R6 | sync_type - L1GPU_DISPLAY_SYNC_VSYNC = Enable VSync? Possibly also L1GPU_DISPLAY_SYNC_HSYNC = Enable HSync? |
| R7 | p3 - 0 - Unknown, seems unused. |
| R8 | p4 - 0 - Unknown, seems unused. |
| Outputs | |
| Register | Description |
| R3 | Status - 0 = OK, Other values are unknown, but indicate failure. |