android_kernel_samsung_sm8650/drivers/gpu/host1x
Mikko Perttunen 7009b78bb9 gpu: host1x: Don't skip assigning syncpoints to channels
[ Upstream commit eb258cc1fd458e584082be987dbc6ec42668c05e ]

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:33:16 +01:00
..
hw gpu: host1x: Don't skip assigning syncpoints to channels 2023-03-10 09:33:16 +01:00
bus.c gpu: host1x: Add missing DMA API include 2021-12-16 14:07:07 +01:00
bus.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
cdma.c gpu: host1x: Generalize host1x_cdma_push_wide() 2022-07-08 17:36:26 +02:00
cdma.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
channel.c gpu: host1x: Use the bitmap API to allocate bitmaps 2022-07-08 17:38:34 +02:00
channel.h gpu: host1x: Request channels for clients, not devices 2019-10-28 11:18:33 +01:00
context_bus.c gpu: host1x: Register context bus unconditionally 2022-07-08 16:31:24 +02:00
context.c gpu: host1x: Add context device management code 2022-07-08 16:27:52 +02:00
context.h gpu: host1x: Add context device management code 2022-07-08 16:27:52 +02:00
debug.c gpu: host1x: Show all allocated syncpts via debugfs 2022-04-06 15:33:57 +02:00
debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
dev.c gpu: host1x: Avoid trying to use GART on Tegra20 2022-11-18 09:33:20 +01:00
dev.h gpu: host1x: Program virtualization tables 2022-07-08 16:27:52 +02:00
fence.c gpu: host1x: Plug potential memory leak 2021-09-16 18:06:52 +02:00
fence.h gpu: host1x: Add DMA fence implementation 2021-08-10 14:39:50 +02:00
intr.c gpu: host1x: Add initial runtime PM and OPP support 2021-12-16 14:07:07 +01:00
intr.h gpu: host1x: Add DMA fence implementation 2021-08-10 14:39:50 +02:00
job.c gpu: host1x: Do not use mapping cache for job submissions 2022-04-06 15:12:36 +02:00
job.h drm/tegra: Implement correct DMA-BUF semantics 2021-12-16 14:07:06 +01:00
Kconfig gpu: host1x: Add context bus 2022-06-01 11:50:42 +02:00
Makefile gpu: host1x: Tegra234 device data and headers 2022-07-08 16:27:52 +02:00
mipi.c media: gpu: host1x: mipi: Keep MIPI clock enabled and mutex locked till calibration done 2020-08-28 15:12:38 +02:00
syncpt.c gpu: host1x: Always return syncpoint value when waiting 2022-02-16 17:20:53 +01:00
syncpt.h gpu: host1x: Add no-recovery mode 2021-08-10 14:40:23 +02:00