drm/amdgpu: rename amdgpu_get_pcie_info
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Dec 2017 21:49:33 +0000 (16:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Dec 2017 16:00:08 +0000 (11:00 -0500)
add device to the name for consistency.

Acked-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/cik.c
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/vi.c

index 91b4fda42873e840adcfb4693cce9ae2db892e97..6b296e1fecf2dad68d077aea41f9bc36d093f447 100644 (file)
@@ -1167,7 +1167,7 @@ struct amdgpu_wb {
 int amdgpu_device_wb_get(struct amdgpu_device *adev, u32 *wb);
 void amdgpu_device_wb_free(struct amdgpu_device *adev, u32 wb);
 
-void amdgpu_get_pcie_info(struct amdgpu_device *adev);
+void amdgpu_device_get_pcie_info(struct amdgpu_device *adev);
 
 /*
  * SDMA
index f80081ecb02c5f718ed280500467f70febbae3f6..357cd8bf2e55c42d4bf491ae4f6b61ceb3f54f30 100644 (file)
@@ -2749,7 +2749,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
        return r;
 }
 
-void amdgpu_get_pcie_info(struct amdgpu_device *adev)
+void amdgpu_device_get_pcie_info(struct amdgpu_device *adev)
 {
        u32 mask;
        int ret;
index 6a92abc736e05fb6ba391aa3048a432f4aec23f9..8e59e65efd448891fc9d84a7db6e1669c2b892eb 100644 (file)
@@ -1866,7 +1866,7 @@ static int cik_common_early_init(void *handle)
 
        adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type);
 
-       amdgpu_get_pcie_info(adev);
+       amdgpu_device_get_pcie_info(adev);
 
        return 0;
 }
index f0fb4161e866365c33beae7e78d5229c82346f59..8f2cff7b7e0c3f47e0c19e26e73674fdca60266f 100644 (file)
@@ -682,7 +682,7 @@ static int soc15_common_early_init(void *handle)
 
        adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type);
 
-       amdgpu_get_pcie_info(adev);
+       amdgpu_device_get_pcie_info(adev);
 
        return 0;
 }
index 66072063bc7cdfd72534495debce09500a086fb4..d9bb26322850d9c64e31d72746d1b7f70f55f644 100644 (file)
@@ -1074,7 +1074,7 @@ static int vi_common_early_init(void *handle)
        /* vi use smc load by default */
        adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type);
 
-       amdgpu_get_pcie_info(adev);
+       amdgpu_device_get_pcie_info(adev);
 
        return 0;
 }