WSL2-Linux-Kernel/drivers/gpu/host1x
Mikko Perttunen 6f36142264 gpu: host1x: Don't skip assigning syncpoints to channels
[ Upstream commit eb258cc1fd ]

The code to write the syncpoint channel assignment register
incorrectly skips the write if hypervisor registers are not available.

The register, however, is within the guest aperture so remove the
check and assign syncpoints properly even on virtualized systems.

Fixes: c3f52220f2 ("gpu: host1x: Enable Tegra186 syncpoint protection")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:39:25 +01:00
..
hw gpu: host1x: Don't skip assigning syncpoints to channels 2023-03-10 09:39:25 +01:00
Kconfig gpu: host1x: select CONFIG_DMA_SHARED_BUFFER 2022-01-27 11:03:39 +01:00
Makefile
bus.c
bus.h
cdma.c
cdma.h
channel.c
channel.h
debug.c
debug.h
dev.c gpu: host1x: Avoid trying to use GART on Tegra20 2022-12-02 17:41:11 +01:00
dev.h
fence.c
fence.h
intr.c
intr.h
job.c
job.h
mipi.c
syncpt.c gpu: host1x: Always return syncpoint value when waiting 2022-03-02 11:47:52 +01:00
syncpt.h