]> git.baikalelectronics.ru Git - kernel.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)
commita6d01dcaf79842bef49e38cf2fb2c83d43b67ade
treed077e47dcb869e9bf5cd2913de33fd839d8feb12
parent0970eb5ecaa548018fe9c9392976d3e1f616b81c
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: 4ea83c2b751f ("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