linux/drivers/gpu/host1x
Mikko Perttunen 1fa8d07ae1 gpu: host1x: Skip reset assert on Tegra186
On Tegra186, secure world applications may need to access host1x
during suspend/resume, and rely on the kernel to keep Host1x out
of reset during the suspend cycle. As such, as a quirk,
skip asserting Host1x's reset on Tegra186.

We don't need to keep the clocks enabled, as BPMP ensures the clock
stays on while Host1x is being used. On newer SoC's, the reset line
is inaccessible, so there is no need for the quirk.

Fixes: b7c00cdf6d ("gpu: host1x: Enable system suspend callbacks")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240222010517.1573931-1-cyndis@kapsi.fi
2024-02-22 18:48:06 +01:00
..
hw gpu: host1x: Syncpoint interrupt sharding 2023-10-11 22:52:44 +02:00
bus.c gpu: host1x: Stop open-coding of_device_uevent() 2023-07-21 09:08:15 +02:00
bus.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
cdma.c IOMMU Updates for Linux v6.3: 2023-02-24 13:40:13 -08:00
cdma.h gpu: host1x: Implement job tracking using DMA fences 2023-01-26 15:55:38 +01:00
channel.c gpu: host1x: Stop CDMA before suspending 2023-10-11 22:52:44 +02:00
channel.h gpu: host1x: Stop CDMA before suspending 2023-10-11 22:52:44 +02:00
context_bus.c gpu: host1x: Register context bus unconditionally 2022-07-08 16:31:24 +02:00
context.c gpu: host1x: Correct allocated size for contexts 2023-10-11 22:52:44 +02:00
context.h gpu: host1x: Add context device management code 2022-07-08 16:27:52 +02:00
debug.c gpu: host1x: Rewrite syncpoint interrupt handling 2023-01-26 15:55:38 +01:00
debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
dev.c gpu: host1x: Skip reset assert on Tegra186 2024-02-22 18:48:06 +01:00
dev.h gpu: host1x: Skip reset assert on Tegra186 2024-02-22 18:48:06 +01:00
fence.c gpu: host1x: External timeout/cancellation for fences 2023-01-26 15:55:38 +01:00
fence.h gpu: host1x: External timeout/cancellation for fences 2023-01-26 15:55:38 +01:00
intr.c gpu: host1x: Rewrite syncpoint interrupt handling 2023-01-26 15:55:38 +01:00
intr.h gpu: host1x: Rewrite syncpoint interrupt handling 2023-01-26 15:55:38 +01:00
job.c gpu: host1x: Implement job tracking using DMA fences 2023-01-26 15:55:38 +01:00
job.h drm/tegra: Implement correct DMA-BUF semantics 2021-12-16 14:07:06 +01:00
Kconfig drm/tegra: Allow compile test on !ARM v2 2023-04-04 18:04:43 +02:00
Makefile gpu: host1x: Tegra234 device data and headers 2022-07-08 16:27:52 +02:00
mipi.c gpu: host1x: mipi: Use devm_platform_get_and_ioremap_resource() 2023-04-04 14:24:24 +02:00
syncpt.c gpu: host1x: Don't rely on dma_fence_wait_timeout return value 2023-04-04 14:24:24 +02:00
syncpt.h gpu: host1x: Rewrite syncpoint interrupt handling 2023-01-26 15:55:38 +01:00