Re: [Intel-gfx] [PATCH v1] Fix the possible watermark miswriting

2018-11-13 Thread Ville Syrjälä
On Tue, Nov 13, 2018 at 04:27:28PM +0200, Stanislav Lisovskiy wrote: > Currently whenever we attempt to recalculate > watermarks, we assign dirty_pipes to zero, > then compare current wm results to the recalculated > one and if they changed we set correspondent dirty_pipes > bit again. > This can

[PATCH v1] Fix the possible watermark miswriting

2018-11-13 Thread Stanislav Lisovskiy
Currently whenever we attempt to recalculate watermarks, we assign dirty_pipes to zero, then compare current wm results to the recalculated one and if they changed we set correspondent dirty_pipes bit again. This can lead to situation, when we same clearing dirty_pipes, same wm results twice and