hello anmelle,
here’s a patch to address memory leak,
please check whether you’ve below fix included.
for instance,
diff --git a/drivers/gpu/host1x-fence/dev.c b/drivers/gpu/host1x-fence/dev.c
static int dev_file_ioctl_fence_extract(struct host1x *host1x, void __user *data)
{
...
@@ -172,6 +172,8 @@
goto put_fence;
}
+ dma_fence_put(fence);
return 0;
put_fence:
dma_fence_put(fence);
return err;
}