gpu: host1x: add actmon information for OFA

OFA is one of the host1x clients. One unit actmon is used for OFA.

Bug 4310958

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: I27bf72d642530740eb67954ef93177d56e63db87
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2990250
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Johnny Liu
2023-10-03 07:11:23 +00:00
committed by mobile promotions
parent 0840137ad6
commit e0b77a8761
2 changed files with 8 additions and 0 deletions

View File

@@ -473,6 +473,13 @@ static const struct host1x_actmon_entry tegra234_actmon_table[] = {
.offset = 0x40000, .offset = 0x40000,
.num_modules = 1, .num_modules = 1,
}, },
{
.classid = HOST1X_CLASS_OFA,
.name = "ofa",
.irq = 7,
.offset = 0x50000,
.num_modules = 1,
},
}; };
static const struct host1x_info host1x08_info = { static const struct host1x_info host1x08_info = {

View File

@@ -25,6 +25,7 @@ enum host1x_class {
HOST1X_CLASS_NVJPG = 0xC0, HOST1X_CLASS_NVJPG = 0xC0,
HOST1X_CLASS_NVDEC = 0xF0, HOST1X_CLASS_NVDEC = 0xF0,
HOST1X_CLASS_NVDEC1 = 0xF5, HOST1X_CLASS_NVDEC1 = 0xF5,
HOST1X_CLASS_OFA = 0xF8,
}; };
enum host1x_actmon_wmark_event { enum host1x_actmon_wmark_event {