diff options
| author | Alex Deucher <[email protected]> | 2016-12-07 21:14:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-12-08 19:12:19 +0000 |
| commit | 7fe285769cf64ff3029eed01ba4e1c020cf0db10 (patch) | |
| tree | 0b80571420733f9646fd7306a278fe9c6dca6a73 /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
| parent | drm/amd/powerplay: use pr_debug to print function not implemented message (diff) | |
| download | kernel-7fe285769cf64ff3029eed01ba4e1c020cf0db10.tar.gz kernel-7fe285769cf64ff3029eed01ba4e1c020cf0db10.zip | |
drm/amdgpu: use pin rather than pin_restricted in a few cases
We don't require a resticted pinning in these cases, so just
use plain pin.
Reviewed-by: Edward O'Callaghan <[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 f1c9e59a7c87..24629bec181a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c @@ -171,7 +171,7 @@ static int amdgpufb_create_pinned_object(struct amdgpu_fbdev *rfbdev, } - ret = amdgpu_bo_pin_restricted(abo, AMDGPU_GEM_DOMAIN_VRAM, 0, 0, NULL); + ret = amdgpu_bo_pin(abo, AMDGPU_GEM_DOMAIN_VRAM, NULL); if (ret) { amdgpu_bo_unreserve(abo); goto out_unref; |
