Re: [PATCH v2 1/5] drm/etnaviv: hold GPU lock across perfmon sampling

2024-10-28 Thread Lucas Stach
Am Freitag, dem 05.07.2024 um 22:00 +0200 schrieb Lucas Stach: > The perfmon sampling mutates shared GPU state (e.g. VIVS_HI_CLOCK_CONTROL > to select the pipe for the perf counter reads). To avoid clashing with > other functions mutating the same state (e.g. etnaviv_gpu_update_clock) > the perfmon

Re: [PATCH v2 1/5] drm/etnaviv: hold GPU lock across perfmon sampling

2024-07-07 Thread Christian Gmeiner
> > The perfmon sampling mutates shared GPU state (e.g. VIVS_HI_CLOCK_CONTROL > to select the pipe for the perf counter reads). To avoid clashing with > other functions mutating the same state (e.g. etnaviv_gpu_update_clock) > the perfmon sampling needs to hold the GPU lock. > > Fixes: 68dc0b295dcb

[PATCH v2 1/5] drm/etnaviv: hold GPU lock across perfmon sampling

2024-07-05 Thread Lucas Stach
The perfmon sampling mutates shared GPU state (e.g. VIVS_HI_CLOCK_CONTROL to select the pipe for the perf counter reads). To avoid clashing with other functions mutating the same state (e.g. etnaviv_gpu_update_clock) the perfmon sampling needs to hold the GPU lock. Fixes: 68dc0b295dcb ("drm/etnavi