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)
commit18b3f5ac6b55f5f3f60723a58f14ec235a5b8cfe
tree6df28c06121a5f178635f5cb1e2a7d911d70039b
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
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: 404bfb78daf3 ("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