Re: [PATCH v2 2/5] drm/etnaviv: assert GPU lock held in perfmon pipe_*_read functions

2024-07-07 Thread Christian Gmeiner
> > The perf counter read functions don't just read registers, but they > also mutate state to direct the reads towards the correct pipe and > engine. Assert that the GPU mutex is held at this point, so that > those state changes don't interfere with others. > > Signed-off-by: Lucas Stach Reviewe

[PATCH v2 2/5] drm/etnaviv: assert GPU lock held in perfmon pipe_*_read functions

2024-07-05 Thread Lucas Stach
The perf counter read functions don't just read registers, but they also mutate state to direct the reads towards the correct pipe and engine. Assert that the GPU mutex is held at this point, so that those state changes don't interfere with others. Signed-off-by: Lucas Stach --- v2: new patch ---