summaryrefslogtreecommitdiffstats
path: root/src/etnaviv/drm/etnaviv_bo.c
diff options
context:
space:
mode:
authorGuido Günther <[email protected]>2019-05-31 14:35:08 +0200
committerGuido Günther <[email protected]>2019-06-05 08:58:05 +0000
commit95d8b4ac0bbef31aa99e21ee6ce18eb09c05d934 (patch)
tree5390bd927d157253d7aa71933a94db0db1f7c6ef /src/etnaviv/drm/etnaviv_bo.c
parent17d7282ccadba91a0a781a7e6cd0182c242e4151 (diff)
etnaviv: drm: s/bo_del/_etna_bo_del/
This avoids a conflict with freedreno's bo_del(). Signed-off-by: Guido Günther <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/etnaviv/drm/etnaviv_bo.c')
-rw-r--r--src/etnaviv/drm/etnaviv_bo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etnaviv/drm/etnaviv_bo.c b/src/etnaviv/drm/etnaviv_bo.c
index 6d6339aff49..6e952fa4785 100644
--- a/src/etnaviv/drm/etnaviv_bo.c
+++ b/src/etnaviv/drm/etnaviv_bo.c
@@ -31,7 +31,7 @@
#include "etnaviv_drmif.h"
pthread_mutex_t etna_drm_table_lock = PTHREAD_MUTEX_INITIALIZER;
-void bo_del(struct etna_bo *bo);
+void _etna_bo_del(struct etna_bo *bo);
/* set buffer name, and add to table, call w/ etna_drm_table_lock held: */
static void set_name(struct etna_bo *bo, uint32_t name)
@@ -42,7 +42,7 @@ static void set_name(struct etna_bo *bo, uint32_t name)
}
/* Called under etna_drm_table_lock */
-void bo_del(struct etna_bo *bo)
+void _etna_bo_del(struct etna_bo *bo)
{
if (bo->map)
os_munmap(bo->map, bo->size);
@@ -251,7 +251,7 @@ void etna_bo_del(struct etna_bo *bo)
if (bo->reuse && (etna_bo_cache_free(&dev->bo_cache, bo) == 0))
goto out;
- bo_del(bo);
+ _etna_bo_del(bo);
etna_device_del_locked(dev);
out:
pthread_mutex_unlock(&etna_drm_table_lock);