|
@@ -275,8 +275,8 @@ static int drm_syncobj_fd_to_handle(struct drm_file *file_private,
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-int drm_syncobj_import_sync_file_fence(struct drm_file *file_private,
|
|
|
|
- int fd, int handle)
|
|
|
|
|
|
+static int drm_syncobj_import_sync_file_fence(struct drm_file *file_private,
|
|
|
|
+ int fd, int handle)
|
|
{
|
|
{
|
|
struct dma_fence *fence = sync_file_get_fence(fd);
|
|
struct dma_fence *fence = sync_file_get_fence(fd);
|
|
struct drm_syncobj *syncobj;
|
|
struct drm_syncobj *syncobj;
|
|
@@ -296,8 +296,8 @@ int drm_syncobj_import_sync_file_fence(struct drm_file *file_private,
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-int drm_syncobj_export_sync_file(struct drm_file *file_private,
|
|
|
|
- int handle, int *p_fd)
|
|
|
|
|
|
+static int drm_syncobj_export_sync_file(struct drm_file *file_private,
|
|
|
|
+ int handle, int *p_fd)
|
|
{
|
|
{
|
|
int ret;
|
|
int ret;
|
|
struct dma_fence *fence;
|
|
struct dma_fence *fence;
|