aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-12-15 16:49:33 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-12-18 11:00:08 -0500
commit041d9d93b5dba8fa41134a4e5fc7a432b76fa308 (patch)
tree30f8b774ac6ea39a2dd92f212cec5f9eb5130d5a /drivers/gpu/drm/amd/amdgpu
parent6b8f4ee56fb27ac36fb3dbec91b5eb04beb90287 (diff)
drm/amdgpu: rename amdgpu_get_pcie_info
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 91b4fda42873..6b296e1fecf2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1167,7 +1167,7 @@ struct amdgpu_wb {
1167int amdgpu_device_wb_get(struct amdgpu_device *adev, u32 *wb); 1167int amdgpu_device_wb_get(struct amdgpu_device *adev, u32 *wb);
1168void amdgpu_device_wb_free(struct amdgpu_device *adev, u32 wb); 1168void amdgpu_device_wb_free(struct amdgpu_device *adev, u32 wb);
1169 1169
1170void amdgpu_get_pcie_info(struct amdgpu_device *adev); 1170void amdgpu_device_get_pcie_info(struct amdgpu_device *adev);
1171 1171
1172/* 1172/*
1173 * SDMA 1173 * SDMA
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index f80081ecb02c..357cd8bf2e55 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2749,7 +2749,7 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
2749 return r; 2749 return r;
2750} 2750}
2751 2751
2752void amdgpu_get_pcie_info(struct amdgpu_device *adev) 2752void amdgpu_device_get_pcie_info(struct amdgpu_device *adev)
2753{ 2753{
2754 u32 mask; 2754 u32 mask;
2755 int ret; 2755 int ret;
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c
index 6a92abc736e0..8e59e65efd44 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik.c
@@ -1866,7 +1866,7 @@ static int cik_common_early_init(void *handle)
1866 1866
1867 adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type); 1867 adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type);
1868 1868
1869 amdgpu_get_pcie_info(adev); 1869 amdgpu_device_get_pcie_info(adev);
1870 1870
1871 return 0; 1871 return 0;
1872} 1872}
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index f0fb4161e866..8f2cff7b7e0c 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -682,7 +682,7 @@ static int soc15_common_early_init(void *handle)
682 682
683 adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type); 683 adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type);
684 684
685 amdgpu_get_pcie_info(adev); 685 amdgpu_device_get_pcie_info(adev);
686 686
687 return 0; 687 return 0;
688} 688}
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 66072063bc7c..d9bb26322850 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -1074,7 +1074,7 @@ static int vi_common_early_init(void *handle)
1074 /* vi use smc load by default */ 1074 /* vi use smc load by default */
1075 adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type); 1075 adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type);
1076 1076
1077 amdgpu_get_pcie_info(adev); 1077 amdgpu_device_get_pcie_info(adev);
1078 1078
1079 return 0; 1079 return 0;
1080} 1080}