mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
f6d73ea7b4
commit
c14060e0d8
2 changed files with 1 additions and 3 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue