diff options
| author | Junwei Zhang <[email protected]> | 2018-06-25 04:51:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-07-10 19:15:39 +0000 |
| commit | 7b7c6c81b3a370b46b0c48f4ab7ac3be83237a12 (patch) | |
| tree | dd93e3098cbcce0051433e3a173c466dd241ddbf /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
| parent | Merge tag 'vmwgfx-next-4.19-3' of git://people.freedesktop.org/~thomash/linux... (diff) | |
| download | kernel-7b7c6c81b3a370b46b0c48f4ab7ac3be83237a12.tar.gz kernel-7b7c6c81b3a370b46b0c48f4ab7ac3be83237a12.zip | |
drm/amdgpu: separate gpu address from bo pin
It could be got by amdgpu_bo_gpu_offset() if need
Signed-off-by: Junwei Zhang <[email protected]>
Reviewed-by: Michel Dänzer <[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 811c62927c38..c93fd9a6b59c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c @@ -168,7 +168,7 @@ static int amdgpufb_create_pinned_object(struct amdgpu_fbdev *rfbdev, } - ret = amdgpu_bo_pin(abo, domain, NULL); + ret = amdgpu_bo_pin(abo, domain); if (ret) { amdgpu_bo_unreserve(abo); goto out_unref; |
