Commit 041d9d93 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: rename amdgpu_get_pcie_info

add device to the name for consistency.
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6b8f4ee5
...@@ -1167,7 +1167,7 @@ struct amdgpu_wb { ...@@ -1167,7 +1167,7 @@ struct amdgpu_wb {
int amdgpu_device_wb_get(struct amdgpu_device *adev, u32 *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_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 * SDMA
......
...@@ -2749,7 +2749,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev, ...@@ -2749,7 +2749,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
return r; return r;
} }
void amdgpu_get_pcie_info(struct amdgpu_device *adev) void amdgpu_device_get_pcie_info(struct amdgpu_device *adev)
{ {
u32 mask; u32 mask;
int ret; int ret;
......
...@@ -1866,7 +1866,7 @@ static int cik_common_early_init(void *handle) ...@@ -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); 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; return 0;
} }
......
...@@ -682,7 +682,7 @@ static int soc15_common_early_init(void *handle) ...@@ -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); 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; return 0;
} }
......
...@@ -1074,7 +1074,7 @@ static int vi_common_early_init(void *handle) ...@@ -1074,7 +1074,7 @@ static int vi_common_early_init(void *handle)
/* vi use smc load by default */ /* vi use smc load by default */
adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type); 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; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment