diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2015-11-24 01:43:48 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-12-22 00:39:14 +0300 |
commit | 005ae95e6ec119c64e2d16eb65a94c49e1dcf9f0 (patch) | |
tree | 8739151b1ce8a4d1645e980a9297abe9a4936bc8 /drivers/gpu/drm/radeon/radeon_atombios.c | |
parent | 42ef344c0994cc453477afdc7a8eadc578ed0257 (diff) | |
download | linux-005ae95e6ec119c64e2d16eb65a94c49e1dcf9f0.tar.xz |
drm/amdgpu: Fix off-by-one errors in amdgpu_vm_bo_map
eaddr is sometimes treated as the last address inside the address
range, and sometimes as the first address outside the range. This
was resulting in errors when a test filled up the entire address
space. Make it consistent to always be the last address within the
range.
Signed-off-by: Felix.Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_atombios.c')
0 files changed, 0 insertions, 0 deletions