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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user