diff options
author | Christian König | 2017-09-02 13:21:31 +0200 |
---|---|---|
committer | Alex Deucher | 2017-09-12 20:23:10 +0200 |
commit | a216ab09955d6b77f3af4f0aba9255c5ddf382f5 (patch) | |
tree | 729b38ef0a74fc185972a65116b1b5a8ad900ab5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | drm/ttm: Fix configuration error around populate_and_map() functions (diff) | |
download | kernel-qcow2-linux-a216ab09955d6b77f3af4f0aba9255c5ddf382f5.tar.gz kernel-qcow2-linux-a216ab09955d6b77f3af4f0aba9255c5ddf382f5.tar.xz kernel-qcow2-linux-a216ab09955d6b77f3af4f0aba9255c5ddf382f5.zip |
drm/amdgpu: fix userptr put_page handling
Move calling put_page into the unpopulate callback. Otherwise we mess up the pages
reference count when it is unbound multiple times.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions