Re: [PATCH 06/10] drm/amdgpu: don't require a job for cond_exec and shadow

2023-03-20 Thread Christian König
Am 17.03.23 um 18:17 schrieb Alex Deucher: We need to reset the shadow state every time we submit an IB and there needs to be a COND_EXEC packet after the SET_Q_PREEMPTION_MODE packet for it to work properly, so we should emit both of these packets regardless of whether there is a job present or

[PATCH 06/10] drm/amdgpu: don't require a job for cond_exec and shadow

2023-03-17 Thread Alex Deucher
We need to reset the shadow state every time we submit an IB and there needs to be a COND_EXEC packet after the SET_Q_PREEMPTION_MODE packet for it to work properly, so we should emit both of these packets regardless of whether there is a job present or not. Signed-off-by: Alex Deucher ---