diff options
| author | Samuel Li <[email protected]> | 2018-04-18 19:06:02 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-05-15 18:43:43 +0000 |
| commit | 1d2361e5a6c60d7b142d19555c3e6240ffe93731 (patch) | |
| tree | efaef338f353484c7eb20efbeb3d144573604040 /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
| parent | drm/amd/powerplay: use the flag to decide whether send gfxoff smc message (diff) | |
| download | kernel-1d2361e5a6c60d7b142d19555c3e6240ffe93731.tar.gz kernel-1d2361e5a6c60d7b142d19555c3e6240ffe93731.zip | |
drm/amdgpu: Rename amdgpu_display_framebuffer_domains()
It returns supported domains for display, and domains actually used are to be
decided later when pinned.
Signed-off-by: Samuel Li <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c index ff89e84b34ce..bc5fd8ebab5d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c @@ -137,7 +137,7 @@ static int amdgpufb_create_pinned_object(struct amdgpu_fbdev *rfbdev, /* need to align pitch with crtc limits */ mode_cmd->pitches[0] = amdgpu_align_pitch(adev, mode_cmd->width, cpp, fb_tiled); - domain = amdgpu_display_framebuffer_domains(adev); + domain = amdgpu_display_supported_domains(adev); height = ALIGN(mode_cmd->height, 8); size = mode_cmd->pitches[0] * height; |
