mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 07:40:11 +01:00
anv: Replay mode is only available on Gfx < 20
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38416>
This commit is contained in:
parent
29cc9c5eab
commit
aeaf1cbc2b
1 changed files with 2 additions and 1 deletions
|
|
@ -513,9 +513,10 @@ init_render_queue_state(struct anv_queue *queue, bool is_companion_rcs_batch)
|
|||
* corruption.
|
||||
*/
|
||||
anv_batch_write_reg(batch, GENX(CS_CHICKEN1), cc1) {
|
||||
#if GFX_VERx10 < 200
|
||||
cc1.ReplayMode = MidcmdbufferPreemption;
|
||||
cc1.ReplayModeMask = true;
|
||||
|
||||
#endif
|
||||
#if GFX_VERx10 == 120
|
||||
cc1.DisablePreemptionandHighPriorityPausingdueto3DPRIMITIVECommand = true;
|
||||
cc1.DisablePreemptionandHighPriorityPausingdueto3DPRIMITIVECommandMask = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue