drm/amdgpu: make wb 256bit function names consistent
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jul 2017 19:10:50 +0000 (15:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:59 +0000 (14:45 -0400)
Use a lower case b to be consistent with the other wb functions.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c

index db6f153cf1ee482bc5d76817e857ba37f71104c7..87afe8785bb27c620d4ca137b8c39c8513b5fbfd 100644 (file)
@@ -1132,7 +1132,7 @@ struct amdgpu_wb {
 int amdgpu_wb_get(struct amdgpu_device *adev, u32 *wb);
 void amdgpu_wb_free(struct amdgpu_device *adev, u32 wb);
 int amdgpu_wb_get_64bit(struct amdgpu_device *adev, u32 *wb);
-int amdgpu_wb_get_256Bit(struct amdgpu_device *adev, u32 *wb);
+int amdgpu_wb_get_256bit(struct amdgpu_device *adev, u32 *wb);
 void amdgpu_wb_free_64bit(struct amdgpu_device *adev, u32 wb);
 void amdgpu_wb_free_256bit(struct amdgpu_device *adev, u32 wb);
 
index ce10ca1cdec3ebd0cd369970694859ada41e63a2..d33e1061e04b97923480b6ebceff6dac598b90a2 100644 (file)
@@ -567,7 +567,7 @@ int amdgpu_wb_get_64bit(struct amdgpu_device *adev, u32 *wb)
        }
 }
 
-int amdgpu_wb_get_256Bit(struct amdgpu_device *adev, u32 *wb)
+int amdgpu_wb_get_256bit(struct amdgpu_device *adev, u32 *wb)
 {
        int i = 0;
        unsigned long offset = bitmap_find_next_zero_area_off(adev->wb.used,
index 15b7149d120440eade9c53caedc799b93a5c275f..3874be83de107b7062e0914bb76e08c87ebff1da 100644 (file)
@@ -213,7 +213,7 @@ int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring,
        }
 
        if (amdgpu_sriov_vf(adev) && ring->funcs->type == AMDGPU_RING_TYPE_GFX) {
-               r = amdgpu_wb_get_256Bit(adev, &ring->fence_offs);
+               r = amdgpu_wb_get_256bit(adev, &ring->fence_offs);
                if (r) {
                        dev_err(adev->dev, "(%d) ring fence_offs wb alloc failed\n", r);
                        return r;