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 465d9a4..8b4e99e 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 f94cf38..1f0c238 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 a5d401a..fa8bf00 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 90900f7..b8baa73 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 9d4eeeb..91b91a6 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 6fb31aa..1386424 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;