drm/amdgpu: rename amdgpu_crtc_set_config
authorSamuel Li <Samuel.Li@amd.com>
Fri, 19 Jan 2018 16:53:31 +0000 (11:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:23 +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
drivers/gpu/drm/amd/amdgpu/dce_virtual.c

index 6eb7e1f33ce57f570ceb7ca70bfa3acbe06257ff..465d9a443f41324857b37c0c018395d8e1abe819 100644 (file)
@@ -257,8 +257,8 @@ cleanup:
        return r;
 }
 
-int amdgpu_crtc_set_config(struct drm_mode_set *set,
-                          struct drm_modeset_acquire_ctx *ctx)
+int amdgpu_display_crtc_set_config(struct drm_mode_set *set,
+                                  struct drm_modeset_acquire_ctx *ctx)
 {
        struct drm_device *dev;
        struct amdgpu_device *adev;
index 1b51612c9f1dc87deffbb8f96ffe758ead6d7f52..f94cf3845041c01b6d2bf7f8ea9eddb91091d9c5 100644 (file)
@@ -664,8 +664,8 @@ int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tile
 /* amdgpu_display.c */
 void amdgpu_print_display_setup(struct drm_device *dev);
 int amdgpu_modeset_create_props(struct amdgpu_device *adev);
-int amdgpu_crtc_set_config(struct drm_mode_set *set,
-                          struct drm_modeset_acquire_ctx *ctx);
+int amdgpu_display_crtc_set_config(struct drm_mode_set *set,
+                                  struct drm_modeset_acquire_ctx *ctx);
 int amdgpu_display_crtc_page_flip_target(struct drm_crtc *crtc,
                                struct drm_framebuffer *fb,
                                struct drm_pending_vblank_event *event,
index 751b52f14764b934c86f4ede0352bffac8c1741b..a5d401add93d00087647ba7886e7d68a266b3a4b 100644 (file)
@@ -2517,7 +2517,7 @@ static const struct drm_crtc_funcs dce_v10_0_crtc_funcs = {
        .cursor_set2 = dce_v10_0_crtc_cursor_set2,
        .cursor_move = dce_v10_0_crtc_cursor_move,
        .gamma_set = dce_v10_0_crtc_gamma_set,
-       .set_config = amdgpu_crtc_set_config,
+       .set_config = amdgpu_display_crtc_set_config,
        .destroy = dce_v10_0_crtc_destroy,
        .page_flip_target = amdgpu_display_crtc_page_flip_target,
 };
index 6502e5f4dd60442ccab3bff28466c25426f0550b..90900f76d6d6452e0df73f45806522f5b352d2b5 100644 (file)
@@ -2592,7 +2592,7 @@ static const struct drm_crtc_funcs dce_v11_0_crtc_funcs = {
        .cursor_set2 = dce_v11_0_crtc_cursor_set2,
        .cursor_move = dce_v11_0_crtc_cursor_move,
        .gamma_set = dce_v11_0_crtc_gamma_set,
-       .set_config = amdgpu_crtc_set_config,
+       .set_config = amdgpu_display_crtc_set_config,
        .destroy = dce_v11_0_crtc_destroy,
        .page_flip_target = amdgpu_display_crtc_page_flip_target,
 };
index 433de9f2c51d1340de590f2ff671e6149aa0f931..9d4eeebcb5ab41d7307e3ad8591d1d172877840e 100644 (file)
@@ -2407,7 +2407,7 @@ static const struct drm_crtc_funcs dce_v6_0_crtc_funcs = {
        .cursor_set2 = dce_v6_0_crtc_cursor_set2,
        .cursor_move = dce_v6_0_crtc_cursor_move,
        .gamma_set = dce_v6_0_crtc_gamma_set,
-       .set_config = amdgpu_crtc_set_config,
+       .set_config = amdgpu_display_crtc_set_config,
        .destroy = dce_v6_0_crtc_destroy,
        .page_flip_target = amdgpu_display_crtc_page_flip_target,
 };
index 0988751bfc8cb6d62c9e5f6a46bb56acc7d8a401..6fb31aa765671573e43fe91f3cb5ab1dacb0a6c2 100644 (file)
@@ -2421,7 +2421,7 @@ static const struct drm_crtc_funcs dce_v8_0_crtc_funcs = {
        .cursor_set2 = dce_v8_0_crtc_cursor_set2,
        .cursor_move = dce_v8_0_crtc_cursor_move,
        .gamma_set = dce_v8_0_crtc_gamma_set,
-       .set_config = amdgpu_crtc_set_config,
+       .set_config = amdgpu_display_crtc_set_config,
        .destroy = dce_v8_0_crtc_destroy,
        .page_flip_target = amdgpu_display_crtc_page_flip_target,
 };
index 7b037874bb544ddf364ab17125ec6fa761cd2223..0c3d2507662ce10bad561c2f3379a1e42f59eb81 100644 (file)
@@ -130,7 +130,7 @@ static const struct drm_crtc_funcs dce_virtual_crtc_funcs = {
        .cursor_set2 = NULL,
        .cursor_move = NULL,
        .gamma_set = dce_virtual_crtc_gamma_set,
-       .set_config = amdgpu_crtc_set_config,
+       .set_config = amdgpu_display_crtc_set_config,
        .destroy = dce_virtual_crtc_destroy,
        .page_flip_target = amdgpu_display_crtc_page_flip_target,
 };