diff options
author | Samuel Li <Samuel.Li@amd.com> | 2018-01-19 12:17:42 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:18:25 -0500 |
commit | 9da3f2d93438b625de07e12b952b4371025e1008 (patch) | |
tree | 857424306233c9f1b58086f7b04a99783a894c05 /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
parent | e0b5b5ec0bc7b12c019560dade29c79208626768 (diff) |
drm/amdgpu: rename amdgpu_framebuffer_init
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/gpu/drm/amd/amdgpu/amdgpu_fb.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c index a7423dd692b8..12063019751b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |||
@@ -227,7 +227,8 @@ static int amdgpufb_create(struct drm_fb_helper *helper, | |||
227 | info->par = rfbdev; | 227 | info->par = rfbdev; |
228 | info->skip_vt_switch = true; | 228 | info->skip_vt_switch = true; |
229 | 229 | ||
230 | ret = amdgpu_framebuffer_init(adev->ddev, &rfbdev->rfb, &mode_cmd, gobj); | 230 | ret = amdgpu_display_framebuffer_init(adev->ddev, &rfbdev->rfb, |
231 | &mode_cmd, gobj); | ||
231 | if (ret) { | 232 | if (ret) { |
232 | DRM_ERROR("failed to initialize framebuffer %d\n", ret); | 233 | DRM_ERROR("failed to initialize framebuffer %d\n", ret); |
233 | goto out; | 234 | goto out; |