From 6da4ac36e6c4bf1baa30452ce95ac10b3feb8075 Mon Sep 17 00:00:00 2001 From: Mikko Perttunen Date: Tue, 4 Oct 2022 13:12:19 +0300 Subject: [PATCH] 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 Change-Id: I6ff40e7a38a6273cfa4ee07c2a347636f5f0ecc5 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2786639 Reviewed-by: Jonathan Hunter GVS: Gerrit_Virtual_Submit --- drivers/gpu/host1x-fence/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/host1x-fence/dev.c b/drivers/gpu/host1x-fence/dev.c index 544a4741..ea26e97c 100644 --- a/drivers/gpu/host1x-fence/dev.c +++ b/drivers/gpu/host1x-fence/dev.c @@ -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);