commit | fb29b57c34488b343db2e3f00e713901385f8c0d | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Thu Mar 03 19:13:20 2016 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 09 13:04:00 2016 -0500 |
tree | 9e8455dc87efe285546f84a1ed8371cf084490fa | |
parent | 459ee1c3fd097ab56ababd8ff4bb7ef6a792de33 [diff] |
drm/amdgpu: Fix two bugs in amdgpu_vm_bo_split_mapping Off-by-one: last is inclusive, so the maximum is start + max_size - 1 Wrong unit: addr is in bytes, max_size is in pages Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>