diff options
author | 2015-11-23 17:43:48 -0500 | |
---|---|---|
committer | 2015-12-21 16:39:14 -0500 | |
commit | 005ae95e6ec119c64e2d16eb65a94c49e1dcf9f0 (patch) | |
tree | 8739151b1ce8a4d1645e980a9297abe9a4936bc8 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | drm/radeon: Fix off-by-one errors in radeon_vm_bo_set_addr (diff) | |
download | wireguard-linux-005ae95e6ec119c64e2d16eb65a94c49e1dcf9f0.tar.xz wireguard-linux-005ae95e6ec119c64e2d16eb65a94c49e1dcf9f0.zip |
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/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions