]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpu: host1x: Program stream ID to bypass without SMMU
authorArnd Bergmann <arnd@arndb.de>
Wed, 6 Mar 2019 13:57:43 +0000 (14:57 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 11 Apr 2019 15:40:35 +0000 (17:40 +0200)
commit8bbad1ba3196814487438d1299cec75de5c74615
treed077e47dcb869e9bf5cd2913de33fd839d8feb12
parente154592a1d25fa1f50ac1bd8d132d0e1103442ba
gpu: host1x: Program stream ID to bypass without SMMU

If SMMU support is not available, fall back to programming the bypass
stream ID (0x7f).

Fixes: de5469c21ff9 ("gpu: host1x: Program the channel stream ID")
Suggested-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
[treding@nvidia.com: rebase this on top of a later build fix]
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/channel_hw.c