• Thierry Reding's avatar
    drm/tegra: vic: Support stream ID register programming · f3779cb1
    Thierry Reding authored
    The version of VIC found in Tegra186 and later incorporates improvements
    with regards to context isolation. As part of those improvements, stream
    ID registers were added that allow to specify separate stream IDs for
    the Falcon microcontroller and the VIC memory interface.
    
    While it is possible to also set the stream ID dynamically at runtime to
    allow userspace contexts to be completely separated, this commit doesn't
    implement that yet. Instead, the static VIC stream ID is programmed when
    the Falcon is booted. This ensures that memory accesses by the Falcon or
    the VIC are properly translated via the SMMU.
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    f3779cb1
vic.h 1.04 KB