diff options
author | Samuel Li <Samuel.Li@amd.com> | 2018-01-19 12:24:39 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:18:26 -0500 |
commit | 4d4772f6ab7683d6a6c681e814634eadcdc53a15 (patch) | |
tree | 07ddf623016fbc95d0724d2d98788ea8e8ab197b /drivers | |
parent | 9da3f2d93438b625de07e12b952b4371025e1008 (diff) |
drm/amdgpu: rename amdgpu_user_framebuffer_create
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 8 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_display.h | 6 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 51e59cc07b8a..ac4ba7c3f8e1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |||
@@ -537,9 +537,9 @@ int amdgpu_display_framebuffer_init(struct drm_device *dev, | |||
537 | } | 537 | } |
538 | 538 | ||
539 | struct drm_framebuffer * | 539 | struct drm_framebuffer * |
540 | amdgpu_user_framebuffer_create(struct drm_device *dev, | 540 | amdgpu_display_user_framebuffer_create(struct drm_device *dev, |
541 | struct drm_file *file_priv, | 541 | struct drm_file *file_priv, |
542 | const struct drm_mode_fb_cmd2 *mode_cmd) | 542 | const struct drm_mode_fb_cmd2 *mode_cmd) |
543 | { | 543 | { |
544 | struct drm_gem_object *obj; | 544 | struct drm_gem_object *obj; |
545 | struct amdgpu_framebuffer *amdgpu_fb; | 545 | struct amdgpu_framebuffer *amdgpu_fb; |
@@ -575,7 +575,7 @@ amdgpu_user_framebuffer_create(struct drm_device *dev, | |||
575 | } | 575 | } |
576 | 576 | ||
577 | const struct drm_mode_config_funcs amdgpu_mode_funcs = { | 577 | const struct drm_mode_config_funcs amdgpu_mode_funcs = { |
578 | .fb_create = amdgpu_user_framebuffer_create, | 578 | .fb_create = amdgpu_display_user_framebuffer_create, |
579 | .output_poll_changed = drm_fb_helper_output_poll_changed, | 579 | .output_poll_changed = drm_fb_helper_output_poll_changed, |
580 | }; | 580 | }; |
581 | 581 | ||
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h index 1ef79d268238..2b11d808f297 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h | |||
@@ -25,8 +25,8 @@ | |||
25 | 25 | ||
26 | uint32_t amdgpu_display_framebuffer_domains(struct amdgpu_device *adev); | 26 | uint32_t amdgpu_display_framebuffer_domains(struct amdgpu_device *adev); |
27 | struct drm_framebuffer * | 27 | struct drm_framebuffer * |
28 | amdgpu_user_framebuffer_create(struct drm_device *dev, | 28 | amdgpu_display_user_framebuffer_create(struct drm_device *dev, |
29 | struct drm_file *file_priv, | 29 | struct drm_file *file_priv, |
30 | const struct drm_mode_fb_cmd2 *mode_cmd); | 30 | const struct drm_mode_fb_cmd2 *mode_cmd); |
31 | 31 | ||
32 | #endif | 32 | #endif |
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index fa3fae1236e6..0442adf7fc2f 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |||
@@ -827,7 +827,7 @@ dm_atomic_state_alloc_free(struct drm_atomic_state *state) | |||
827 | } | 827 | } |
828 | 828 | ||
829 | static const struct drm_mode_config_funcs amdgpu_dm_mode_funcs = { | 829 | static const struct drm_mode_config_funcs amdgpu_dm_mode_funcs = { |
830 | .fb_create = amdgpu_user_framebuffer_create, | 830 | .fb_create = amdgpu_display_user_framebuffer_create, |
831 | .output_poll_changed = drm_fb_helper_output_poll_changed, | 831 | .output_poll_changed = drm_fb_helper_output_poll_changed, |
832 | .atomic_check = amdgpu_dm_atomic_check, | 832 | .atomic_check = amdgpu_dm_atomic_check, |
833 | .atomic_commit = amdgpu_dm_atomic_commit, | 833 | .atomic_commit = amdgpu_dm_atomic_commit, |