]> 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)
commit40f6e5dbf90e62e1f1dba2e87fd4bf7d78c5e77e
treed077e47dcb869e9bf5cd2913de33fd839d8feb12
parent48493748c636fcb90febeec8e4b3fab3ab3b9d1b
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: 1becb46b4fc5 ("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