Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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;
}