]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Don't fail on NULL bo physical address
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 2 Aug 2017 09:55:04 +0000 (12:55 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Aug 2017 15:57:06 +0000 (17:57 +0200)
commitc2d8596b732a9eaab93b8c08bc2c23ded3a9d54c
tree6df28c06121a5f178635f5cb1e2a7d911d70039b
parent9238ecfbaaeffcf7977c2776af9c57c0a4a878ed
gpu: host1x: Don't fail on NULL bo physical address

Pinning a Host1x BO currently cannot fail and zero is a valid address
for a BO when IOMMU is enabled. To avoid false errors remove checks
for NULL BO physical addresses.

Fixes: f40f14f3ee13 ("gpu: host1x: Add IOMMU support")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/job.c