e46e34144f
[ Upstream commit 37dc4737447a7667f8e9ec790dac251da057eb27 ] 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/etnaviv: use 'sync points' for performance monitor requests") Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
cmdstream.xml.h | ||
common.xml.h | ||
etnaviv_buffer.c | ||
etnaviv_cmd_parser.c | ||
etnaviv_cmdbuf.c | ||
etnaviv_cmdbuf.h | ||
etnaviv_drv.c | ||
etnaviv_drv.h | ||
etnaviv_dump.c | ||
etnaviv_dump.h | ||
etnaviv_gem.c | ||
etnaviv_gem.h | ||
etnaviv_gem_prime.c | ||
etnaviv_gem_submit.c | ||
etnaviv_gpu.c | ||
etnaviv_gpu.h | ||
etnaviv_hwdb.c | ||
etnaviv_iommu.c | ||
etnaviv_iommu_v2.c | ||
etnaviv_mmu.c | ||
etnaviv_mmu.h | ||
etnaviv_perfmon.c | ||
etnaviv_perfmon.h | ||
etnaviv_sched.c | ||
etnaviv_sched.h | ||
Kconfig | ||
Makefile | ||
state.xml.h | ||
state_3d.xml.h | ||
state_blt.xml.h | ||
state_hi.xml.h |