iris: Make iris_bo_export_gem_handle() static

It is only used in iris_bufmgr.c so no neeed to export it.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20423>
This commit is contained in:
José Roberto de Souza 2022-11-30 12:25:26 -08:00 committed by Marge Bot
parent f6d73ea7b4
commit c14060e0d8
2 changed files with 1 additions and 3 deletions

View file

@ -2019,7 +2019,7 @@ iris_bo_export_dmabuf(struct iris_bo *bo, int *prime_fd)
return 0;
}
uint32_t
static uint32_t
iris_bo_export_gem_handle(struct iris_bo *bo)
{
/* We cannot export suballocated BOs. */

View file

@ -525,8 +525,6 @@ struct iris_bo *iris_bo_import_dmabuf(struct iris_bufmgr *bufmgr, int prime_fd);
int iris_bo_export_gem_handle_for_device(struct iris_bo *bo, int drm_fd,
uint32_t *out_handle);
uint32_t iris_bo_export_gem_handle(struct iris_bo *bo);
/**
* Returns the BO's address relative to the appropriate base address.
*