drm/amdgpu: rename amdgpu_print_display_setup
authorSamuel Li <Samuel.Li@amd.com>
Fri, 19 Jan 2018 17:02:45 +0000 (12:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:24 +0000 (14:18 -0500)
Add display to the name for consistency.

Signed-off-by: Samuel Li <Samuel.Li@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c

index 465d9a443f41324857b37c0c018395d8e1abe819..8b4e99ebc22988a584b48a8dc24f9f7bcf818770 100644 (file)
@@ -355,7 +355,7 @@ static const char *hpd_names[6] = {
        "HPD6",
 };
 
-void amdgpu_print_display_setup(struct drm_device *dev)
+void amdgpu_display_print_display_setup(struct drm_device *dev)
 {
        struct drm_connector *connector;
        struct amdgpu_connector *amdgpu_connector;
index f94cf3845041c01b6d2bf7f8ea9eddb91091d9c5..1f0c238d1e3089e42a51aeee0c55b2587fa71170 100644 (file)
@@ -662,7 +662,7 @@ bool amdgpu_fbdev_robj_is_fb(struct amdgpu_device *adev, struct amdgpu_bo *robj)
 int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tiled);
 
 /* amdgpu_display.c */
-void amdgpu_print_display_setup(struct drm_device *dev);
+void amdgpu_display_print_display_setup(struct drm_device *dev);
 int amdgpu_modeset_create_props(struct amdgpu_device *adev);
 int amdgpu_display_crtc_set_config(struct drm_mode_set *set,
                                   struct drm_modeset_acquire_ctx *ctx);
index a5d401add93d00087647ba7886e7d68a266b3a4b..fa8bf0088ddf89b0952db6b81fbc6f603c06b858 100644 (file)
@@ -2841,7 +2841,7 @@ static int dce_v10_0_sw_init(void *handle)
        }
 
        if (amdgpu_atombios_get_connector_info_from_object_table(adev))
-               amdgpu_print_display_setup(adev->ddev);
+               amdgpu_display_print_display_setup(adev->ddev);
        else
                return -EINVAL;
 
index 90900f76d6d6452e0df73f45806522f5b352d2b5..b8baa7380130fa10f14132f4d8c999dfb3c48373 100644 (file)
@@ -2957,7 +2957,7 @@ static int dce_v11_0_sw_init(void *handle)
        }
 
        if (amdgpu_atombios_get_connector_info_from_object_table(adev))
-               amdgpu_print_display_setup(adev->ddev);
+               amdgpu_display_print_display_setup(adev->ddev);
        else
                return -EINVAL;
 
index 9d4eeebcb5ab41d7307e3ad8591d1d172877840e..91b91a6e320e1b2a9db723b6fa0dbef3a9bcdb27 100644 (file)
@@ -2711,7 +2711,7 @@ static int dce_v6_0_sw_init(void *handle)
 
        ret = amdgpu_atombios_get_connector_info_from_object_table(adev);
        if (ret)
-               amdgpu_print_display_setup(adev->ddev);
+               amdgpu_display_print_display_setup(adev->ddev);
        else
                return -EINVAL;
 
index 6fb31aa765671573e43fe91f3cb5ab1dacb0a6c2..1386424e6bcd0337d3e5d022457c6a1ebdc0b8ec 100644 (file)
@@ -2741,7 +2741,7 @@ static int dce_v8_0_sw_init(void *handle)
        }
 
        if (amdgpu_atombios_get_connector_info_from_object_table(adev))
-               amdgpu_print_display_setup(adev->ddev);
+               amdgpu_display_print_display_setup(adev->ddev);
        else
                return -EINVAL;