summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorChristian König2017-09-02 13:21:31 +0200
committerAlex Deucher2017-09-12 20:23:10 +0200
commita216ab09955d6b77f3af4f0aba9255c5ddf382f5 (patch)
tree729b38ef0a74fc185972a65116b1b5a8ad900ab5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/ttm: Fix configuration error around populate_and_map() functions (diff)
downloadkernel-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_ucode.c')
0 files changed, 0 insertions, 0 deletions