gpu: host1x-fence: Adapt for change in host1x_fence_create

Add 'true' parameter to enable internal timeout since there is no
external cancellation mechanism.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Change-Id: I6ff40e7a38a6273cfa4ee07c2a347636f5f0ecc5
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2786639
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Mikko Perttunen
2022-10-04 13:12:19 +03:00
committed by mobile promotions
parent 006187b889
commit 6da4ac36e6

View File

@@ -57,7 +57,7 @@ static int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
struct dma_fence *f;
int fd;
f = host1x_fence_create(sp, threshold);
f = host1x_fence_create(sp, threshold, true);
if (IS_ERR(f))
return PTR_ERR(f);