mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
anv: update Wa_1607156449 to use WA infrastructure
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34433>
This commit is contained in:
parent
77a3572ae0
commit
938f79ed82
1 changed files with 6 additions and 4 deletions
|
|
@ -2467,11 +2467,12 @@ genX(batch_emit_pipe_control_write)(struct anv_batch *batch,
|
||||||
|
|
||||||
/* XXX - insert all workarounds and GFX specific things below. */
|
/* XXX - insert all workarounds and GFX specific things below. */
|
||||||
|
|
||||||
/* Wa_14014966230: For COMPUTE Workload - Any PIPE_CONTROL command with
|
#if INTEL_WA_1607156449_GFX_VER
|
||||||
* POST_SYNC Operation Enabled MUST be preceded by a PIPE_CONTROL
|
/* Wa_1607156449: For COMPUTE Workload - Any PIPE_CONTROL command with
|
||||||
* with CS_STALL Bit set (with No POST_SYNC ENABLED)
|
* POST_SYNC Operation Enabled MUST be preceded by a PIPE_CONTROL with
|
||||||
|
* CS_STALL Bit set (with No POST_SYNC ENABLED)
|
||||||
*/
|
*/
|
||||||
if (intel_device_info_is_adln(devinfo) &&
|
if (intel_needs_workaround(devinfo, 1607156449) &&
|
||||||
current_pipeline == GPGPU &&
|
current_pipeline == GPGPU &&
|
||||||
post_sync_op != NoWrite) {
|
post_sync_op != NoWrite) {
|
||||||
anv_batch_emit(batch, GENX(PIPE_CONTROL), pipe) {
|
anv_batch_emit(batch, GENX(PIPE_CONTROL), pipe) {
|
||||||
|
|
@ -2479,6 +2480,7 @@ genX(batch_emit_pipe_control_write)(struct anv_batch *batch,
|
||||||
anv_debug_dump_pc(pipe, "Wa_14014966230");
|
anv_debug_dump_pc(pipe, "Wa_14014966230");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* SKL PRMs, Volume 7: 3D-Media-GPGPU, Programming Restrictions for
|
/* SKL PRMs, Volume 7: 3D-Media-GPGPU, Programming Restrictions for
|
||||||
* PIPE_CONTROL, Flush Types:
|
* PIPE_CONTROL, Flush Types:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue