Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpu: host1x: Add Tegra SE to SID table

Add Tegra Security Engine details to the SID table in host1x driver.
These entries are required to be in place to configure the stream ID
for SE. Register writes to stream ID registers fail otherwise.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Acked-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Akhil R and committed by
Herbert Xu
cc370ff8 17048b22

+24
+24
drivers/gpu/host1x/dev.c
··· 216 216 */ 217 217 static const struct host1x_sid_entry tegra234_sid_table[] = { 218 218 { 219 + /* SE2 MMIO */ 220 + .base = 0x1658, 221 + .offset = 0x90, 222 + .limit = 0x90 223 + }, 224 + { 225 + /* SE4 MMIO */ 226 + .base = 0x1660, 227 + .offset = 0x90, 228 + .limit = 0x90 229 + }, 230 + { 231 + /* SE2 channel */ 232 + .base = 0x1738, 233 + .offset = 0x90, 234 + .limit = 0x90 235 + }, 236 + { 237 + /* SE4 channel */ 238 + .base = 0x1740, 239 + .offset = 0x90, 240 + .limit = 0x90 241 + }, 242 + { 219 243 /* VIC channel */ 220 244 .base = 0x17b8, 221 245 .offset = 0x30,