linux/drivers/gpu/host1x
Dmitry Osipenko 691ae7c87f gpu: host1x: debug: Fix multiple channels emitting messages simultaneously
[ Upstream commit 3568186280 ]

Once channel's job is hung, it dumps the channel's state into KMSG before
tearing down the offending job. If multiple channels hang at once, then
they dump messages simultaneously, making the debug info unreadable, and
thus, useless. This patch adds mutex which allows only one channel to emit
debug messages at a time.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:16:04 +02:00
..
hw
Kconfig
Makefile
bus.c
bus.h
cdma.c
cdma.h
channel.c
channel.h
debug.c gpu: host1x: debug: Fix multiple channels emitting messages simultaneously 2020-08-19 08:16:04 +02:00
debug.h
dev.c
dev.h
intr.c
intr.h
job.c
job.h
mipi.c
syncpt.c
syncpt.h