Skip to content

Commit cc370ff

Browse files
Akhil Rherbertx
authored andcommitted
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 <[email protected]> Acked-by: Mikko Perttunen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 17048b2 commit cc370ff

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

drivers/gpu/host1x/dev.c

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,30 @@ static const struct host1x_info host1x07_info = {
215215
* and firmware stream ID in the MMIO path table.
216216
*/
217217
static const struct host1x_sid_entry tegra234_sid_table[] = {
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+
},
218242
{
219243
/* VIC channel */
220244
.base = 0x17b8,

0 commit comments

Comments
 (0)