mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
intel/gfx7: Change GPGPU Mode to bool
Suggested-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11564>
This commit is contained in:
parent
90a39cac87
commit
72e04a6248
5 changed files with 5 additions and 5 deletions
|
|
@ -8092,7 +8092,7 @@ crocus_upload_compute_state(struct crocus_context *ice,
|
|||
Resettingrelativetimerandlatchingtheglobaltimestamp;
|
||||
vfe.BypassGatewayControl = true;
|
||||
#if GFX_VER == 7
|
||||
vfe.GPGPUMode = 1;
|
||||
vfe.GPGPUMode = true;
|
||||
#endif
|
||||
#if GFX_VER == 8
|
||||
vfe.BypassGatewayControl = true;
|
||||
|
|
|
|||
|
|
@ -2169,7 +2169,7 @@ blorp_exec_compute(struct blorp_batch *batch, const struct blorp_params *params)
|
|||
vfe.BypassGatewayControl = BypassingOpenGatewayCloseGatewayprotocol;
|
||||
#endif
|
||||
#if GFX_VER == 7
|
||||
vfe.GPGPUMode = 1;
|
||||
vfe.GPGPUMode = true;
|
||||
#endif
|
||||
vfe.URBEntryAllocationSize = GFX_VER >= 8 ? 2 : 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -1931,7 +1931,7 @@
|
|||
<field name="Command Type" start="29" end="31" type="uint" default="3"/>
|
||||
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
|
||||
<field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
|
||||
<field name="GPGPU Mode" start="66" end="66" type="uint"/>
|
||||
<field name="GPGPU Mode" start="66" end="66" type="bool"/>
|
||||
<field name="Gateway MMIO Access Control" start="67" end="68" type="uint">
|
||||
<value name="No MMIO read/write allowed" value="0"/>
|
||||
<value name="MMIO read/write to any address" value="2"/>
|
||||
|
|
|
|||
|
|
@ -2305,7 +2305,7 @@
|
|||
<field name="Per Thread Scratch Space" start="32" end="35" type="uint"/>
|
||||
<field name="Stack Size" start="36" end="39" type="uint"/>
|
||||
<field name="Scratch Space Base Pointer" start="42" end="63" type="address"/>
|
||||
<field name="GPGPU Mode" start="66" end="66" type="uint"/>
|
||||
<field name="GPGPU Mode" start="66" end="66" type="bool"/>
|
||||
<field name="Bypass Gateway Control" start="70" end="70" type="uint">
|
||||
<value name="Maintaining OpenGateway/ForwardMsg/CloseGateway protocol (legacy mode)" value="0"/>
|
||||
<value name="Bypassing OpenGateway/CloseGateway protocol" value="1"/>
|
||||
|
|
|
|||
|
|
@ -4332,7 +4332,7 @@ genX(upload_cs_state)(struct brw_context *brw)
|
|||
vfe.BypassGatewayControl = BypassingOpenGatewayCloseGatewayprotocol;
|
||||
#endif
|
||||
#if GFX_VER == 7
|
||||
vfe.GPGPUMode = 1;
|
||||
vfe.GPGPUMode = true;
|
||||
#endif
|
||||
|
||||
/* We are uploading duplicated copies of push constant uniforms for each
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue