linux/drivers/gpu/host1x
Dmitry Osipenko e68ee83f8b 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:14:52 +02:00
..
hw gpu: host1x: Fix syncpoint ID field size on Tegra186 2019-12-13 08:51:58 +01:00
bus.c gpu: host1x: Detach driver on unregister 2020-07-16 08:17:22 +02:00
bus.h
cdma.c gpu: host1x: Store pointer to client in jobs 2018-05-18 21:50:24 +02:00
cdma.h gpu: host1x: Store pointer to client in jobs 2018-05-18 21:50:24 +02:00
channel.c
channel.h
debug.c gpu: host1x: debug: Fix multiple channels emitting messages simultaneously 2020-08-19 08:14:52 +02:00
debug.h
dev.c gpu: host1x: Skip IOMMU initialization if firewall is enabled 2018-07-09 10:31:10 +02:00
dev.h gpu: host1x: Remove wait check support 2018-05-18 21:50:04 +02:00
intr.c gpu: host1x: Drop unnecessary host1x argument 2018-05-18 21:51:01 +02:00
intr.h gpu: host1x: Drop unnecessary host1x argument 2018-05-18 21:51:01 +02:00
job.c gpu: host1x: Allocate gather copy for host1x 2019-12-31 16:35:29 +01:00
job.h gpu: host1x: Use not explicitly sized types 2018-05-18 21:51:37 +02:00
Kconfig
Makefile main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
mipi.c
syncpt.c gpu: host1x: Drop unnecessary host1x argument 2018-05-18 21:51:01 +02:00
syncpt.h gpu: host1x: Remove wait check support 2018-05-18 21:50:04 +02:00