commit | a216ab09955d6b77f3af4f0aba9255c5ddf382f5 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Sat Sep 02 13:21:31 2017 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Sep 12 14:23:10 2017 -0400 |
tree | 729b38ef0a74fc185972a65116b1b5a8ad900ab5 | |
parent | 7a9667ae197460e6c9c3bb432fe68c708fce6259 [diff] |
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>