Re: [PATCH 3/4] drm/panfrost: Add permon acquire/release helpers

2021-06-02 Thread Steven Price
On 27/05/2021 21:38, alyssa.rosenzw...@collabora.com wrote: > From: Alyssa Rosenzweig > > Wrap the underlying CYCLE_COUNT_START/STOP commands in a safe interface > that ensures the commands are only issued where required by guarding > behind an atomic counter. In particular, we need to be careful

[PATCH 3/4] drm/panfrost: Add permon acquire/release helpers

2021-05-27 Thread alyssa . rosenzweig
From: Alyssa Rosenzweig Wrap the underlying CYCLE_COUNT_START/STOP commands in a safe interface that ensures the commands are only issued where required by guarding behind an atomic counter. In particular, we need to be careful about races between multiple in-flight jobs, where only some require