summaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x/hw/host1x04.c
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2017-09-05 11:43:05 +0300
committerThierry Reding <treding@nvidia.com>2017-10-20 14:19:51 +0200
commitf1b53c4e2c08cbd805a2fdede0026edb30b59602 (patch)
treed18d03098fc02315536684af112fdd4ebbbf0146 /drivers/gpu/host1x/hw/host1x04.c
parentd3b3efa1705833aa1b7f55ea9b2ed09e48e957a7 (diff)
gpu: host1x: Add Tegra186 support
Add support for the implementation of Host1x present on the Tegra186. The register space has been shuffled around a little bit, requiring addition of some chip-specific code sections. Tegra186 also adds several new features, most importantly the hypervisor, but those are not yet supported with this commit. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Tested-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/hw/host1x04.c')
-rw-r--r--drivers/gpu/host1x/hw/host1x04.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/hw/host1x04.c b/drivers/gpu/host1x/hw/host1x04.c
index 8007c70fa9c4..f102a1a7743f 100644
--- a/drivers/gpu/host1x/hw/host1x04.c
+++ b/drivers/gpu/host1x/hw/host1x04.c
@@ -21,6 +21,8 @@
#include "host1x04_hardware.h"
/* include code */
+#define HOST1X_HW 4
+
#include "cdma_hw.c"
#include "channel_hw.c"
#include "debug_hw.c"