From a450f96ba9b2fb33654bc529efab862fac765290 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 6 Dec 2015 22:34:01 +0100 Subject: [PATCH] winsys/radeon: rename radeon_bomgr_init_functions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle Reviewed-by: Edward O'Callaghan Reviewed-by: Michel Dänzer --- src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 2 +- src/gallium/winsys/radeon/drm/radeon_drm_bo.h | 2 +- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index a19c99459c2..96831be5662 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -1147,7 +1147,7 @@ static uint64_t radeon_winsys_bo_va(struct radeon_winsys_cs_handle *buf) return ((struct radeon_bo*)buf)->va; } -void radeon_bomgr_init_functions(struct radeon_drm_winsys *ws) +void radeon_drm_bo_init_functions(struct radeon_drm_winsys *ws) { ws->base.buffer_get_cs_handle = radeon_drm_get_cs_handle; ws->base.buffer_set_tiling = radeon_bo_set_tiling; diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h index f8f50cc5d5b..e97fb856d0e 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h @@ -70,7 +70,7 @@ struct radeon_bo { }; struct pb_manager *radeon_bomgr_create(struct radeon_drm_winsys *rws); -void radeon_bomgr_init_functions(struct radeon_drm_winsys *ws); +void radeon_drm_bo_init_functions(struct radeon_drm_winsys *ws); static inline void radeon_bo_reference(struct radeon_bo **dst, struct radeon_bo *src) diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index f9d7bcc2bad..fa56147b3b6 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -771,7 +771,7 @@ radeon_drm_winsys_create(int fd, radeon_screen_create_t screen_create) ws->base.query_value = radeon_query_value; ws->base.read_registers = radeon_read_registers; - radeon_bomgr_init_functions(ws); + radeon_drm_bo_init_functions(ws); radeon_drm_cs_init_functions(ws); radeon_surface_init_functions(ws); -- 2.30.2