OSDN Git Service

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 91b4fda..6b296e1 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 f80081e..357cd8b 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 6a92abc..8e59e65 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 f0fb416..8f2cff7 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 6607206..d9bb263 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;
 }