aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-09-30 12:43:04 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-10-25 14:38:07 -0400
commit483ef98588aa9f2236392f505beadb621f288861 (patch)
tree86f246011aa6b30129fc66203ec11ff3626f7adf /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent87320cafbcbe177a08c9928395e760b48c8f917e (diff)
drm/amdgpu: rename amdgpu_whether_enable_virtual_display
to match the other functions in that file. Reviewed-By: Emily Deng <Emily.Deng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index b4f4a9239069..874c33b43955 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1231,7 +1231,7 @@ int amdgpu_ip_block_version_cmp(struct amdgpu_device *adev,
1231 return 1; 1231 return 1;
1232} 1232}
1233 1233
1234static void amdgpu_whether_enable_virtual_display(struct amdgpu_device *adev) 1234static void amdgpu_device_enable_virtual_display(struct amdgpu_device *adev)
1235{ 1235{
1236 adev->enable_virtual_display = false; 1236 adev->enable_virtual_display = false;
1237 1237
@@ -1261,7 +1261,7 @@ static int amdgpu_early_init(struct amdgpu_device *adev)
1261{ 1261{
1262 int i, r; 1262 int i, r;
1263 1263
1264 amdgpu_whether_enable_virtual_display(adev); 1264 amdgpu_device_enable_virtual_display(adev);
1265 1265
1266 switch (adev->asic_type) { 1266 switch (adev->asic_type) {
1267 case CHIP_TOPAZ: 1267 case CHIP_TOPAZ: