From 6c73478223a0ed76e54f14c46831974c3efaacdf Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 26 Aug 2014 13:41:11 +0800 Subject: ilo: rename intel_bo_map_unsynchronized() Rename it to intel_bo_map_gtt_async(). --- src/gallium/winsys/intel/drm/intel_drm_winsys.c | 2 +- src/gallium/winsys/intel/intel_winsys.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/gallium/winsys') diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c b/src/gallium/winsys/intel/drm/intel_drm_winsys.c index 6f85852c264..2da7b02657a 100644 --- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c +++ b/src/gallium/winsys/intel/drm/intel_drm_winsys.c @@ -510,7 +510,7 @@ intel_bo_map_gtt(struct intel_bo *bo) } void * -intel_bo_map_unsynchronized(struct intel_bo *bo) +intel_bo_map_gtt_async(struct intel_bo *bo) { int err; diff --git a/src/gallium/winsys/intel/intel_winsys.h b/src/gallium/winsys/intel/intel_winsys.h index c928cad4316..2f053146bb2 100644 --- a/src/gallium/winsys/intel/intel_winsys.h +++ b/src/gallium/winsys/intel/intel_winsys.h @@ -226,8 +226,7 @@ intel_bo_unreference(struct intel_bo *bo); * sequential writes, but reads would be very slow. Callers always have a * linear view of the bo. * - * map_unsynchronized() is similar to map_gtt(), except that it does not - * block. + * map_gtt_async() is similar to map_gtt(), except that it does not block. */ void * intel_bo_map(struct intel_bo *bo, bool write_enable); @@ -236,7 +235,7 @@ void * intel_bo_map_gtt(struct intel_bo *bo); void * -intel_bo_map_unsynchronized(struct intel_bo *bo); +intel_bo_map_gtt_async(struct intel_bo *bo); /** * Unmap \p bo. -- cgit v1.2.3