WSL2-Linux-Kernel/drivers/gpu/host1x/hw
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
..
cdma_hw.c
channel_hw.c
debug_hw.c gpu: host1x: debug: Dump only relevant parts of CDMA push buffer 2021-08-13 18:23:32 +02:00
debug_hw_1x01.c gpu: host1x: debug: Dump DMASTART and DMAEND register 2021-08-13 18:23:32 +02:00
debug_hw_1x06.c gpu: host1x: debug: Dump DMASTART and DMAEND register 2021-08-13 18:23:32 +02:00
host1x01.c
host1x01.h
host1x01_hardware.h
host1x02.c
host1x02.h
host1x02_hardware.h
host1x04.c
host1x04.h
host1x04_hardware.h
host1x05.c
host1x05.h
host1x05_hardware.h
host1x06.c
host1x06.h
host1x06_hardware.h
host1x07.c
host1x07.h
host1x07_hardware.h
hw_host1x01_channel.h
hw_host1x01_sync.h
hw_host1x01_uclass.h
hw_host1x02_channel.h
hw_host1x02_sync.h
hw_host1x02_uclass.h
hw_host1x04_channel.h
hw_host1x04_sync.h
hw_host1x04_uclass.h
hw_host1x05_channel.h
hw_host1x05_sync.h
hw_host1x05_uclass.h
hw_host1x06_channel.h
hw_host1x06_hypervisor.h
hw_host1x06_uclass.h
hw_host1x06_vm.h
hw_host1x07_channel.h
hw_host1x07_hypervisor.h
hw_host1x07_uclass.h
hw_host1x07_vm.h
intr_hw.c
syncpt_hw.c gpu: host1x: Don't skip assigning syncpoints to channels 2023-03-10 09:39:25 +01:00