drm/tegra: Add OFA support

Add support for the optical flow accelerator. Implementation is the
same as for other Falcons except that we omit some legacy things
since the engine only exists from T234 onwards, and the addition
of having to initialize the OFA's safety RAM before boot.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Change-Id: I9612e82a116cc76be492a0c533afce67c42f6a2c
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2784964
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Mikko Perttunen
2022-09-29 13:36:50 +03:00
committed by Laxman Dewangan
parent a31d614845
commit f374e1804e

View File

@@ -340,6 +340,18 @@ static const struct host1x_sid_entry tegra234_sid_table[] = {
.offset = 0x0030,
.limit = 0x0034
},
{
/* OFA channel */
.base = 0x1768,
.offset = 0x30,
.limit = 0x30,
},
{
/* OFA MMIO */
.base = 0x16e8,
.offset = 0x34,
.limit = 0x34,
},
};
static const struct host1x_info host1x08_info = {