Difference between revisions of "GSPGPU:AcquireRight"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00160042] |- | 1 | Flag, normally zero. |- | 2 | Value 0x0 |- | 3 | Process hand...")
 
 
(2 intermediate revisions by one other user not shown)
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| Value 0x0
+
| Value 0x0 ([[IPC#Message_Structure|translation descriptor]])
 
|-
 
|-
 
| 3
 
| 3
Line 33: Line 33:
 
=Description=
 
=Description=
 
When flag is non-zero additional hardware initialization is done, in some cases this includes executing the hw-init function used for [[GSP_Services|GSPGPU:ResetGpuCore]]. That function is only executed when a state field is value 0, after executing that function this field is set to value 1.
 
When flag is non-zero additional hardware initialization is done, in some cases this includes executing the hw-init function used for [[GSP_Services|GSPGPU:ResetGpuCore]]. That function is only executed when a state field is value 0, after executing that function this field is set to value 1.
 +
 +
Only one process can have rendering rights at a time. When another process has those rights, this command blocks until the process with the rights uses GSP:ReleaseRight.

Latest revision as of 23:01, 2 February 2016

Request[edit]

Index Word Description
0 Header code [0x00160042]
1 Flag, normally zero.
2 Value 0x0 (translation descriptor)
3 Process handle

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

When flag is non-zero additional hardware initialization is done, in some cases this includes executing the hw-init function used for GSPGPU:ResetGpuCore. That function is only executed when a state field is value 0, after executing that function this field is set to value 1.

Only one process can have rendering rights at a time. When another process has those rights, this command blocks until the process with the rights uses GSP:ReleaseRight.