From 283b2ed68bbabb1fedca5a2ef6e99e42995aff6c Mon Sep 17 00:00:00 2001 From: Mikko Perttunen Date: Fri, 11 Nov 2022 13:07:12 +0200 Subject: [PATCH] gpu: host1x: Add stream ID protection table entries for camera engines Add entries for camera engines (VI,VI2,VI_THI,VI2_THI,ISP_THI) in the stream ID protection table. Signed-off-by: Mikko Perttunen Change-Id: If65fbbd63f2b4eb2bf56b3a696e570f87c010d87 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2807581 GVS: Gerrit_Virtual_Submit --- drivers/gpu/host1x/dev.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 9b375fff..dba0763f 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -394,6 +394,42 @@ static const struct host1x_sid_entry tegra234_sid_table[] = { .offset = 0x30, .limit = 0x34, }, + { + /* VI MMIO */ + .base = 0x16b8, + .offset = 0x800, + .limit = 0x800, + }, + { + /* VI_THI MMIO */ + .base = 0x16c0, + .offset = 0x30, + .limit = 0x34, + }, + { + /* ISP MMIO */ + .base = 0x1680, + .offset = 0x800, + .limit = 0x800, + }, + { + /* ISP_THI MMIO */ + .base = 0x16c8, + .offset = 0x30, + .limit = 0x34, + }, + { + /* VI2 MMIO */ + .base = 0x16f0, + .offset = 0x800, + .limit = 0x800, + }, + { + /* VI2_THI MMIO */ + .base = 0x16f8, + .offset = 0x30, + .limit = 0x34, + }, }; static const struct host1x_info host1x08_info = {