summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-10-20 01:22:53 +0300
committerDave Airlie <airlied@redhat.com>2020-10-20 23:59:07 +0300
commitfea456d82c19d201c21313864105876deabe148b (patch)
tree7aea000632ab166216dc28cf224330b556e0b973 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent7e13256dfe22b0d2e49cbfdb75bdc57e059d6c50 (diff)
downloadlinux-fea456d82c19d201c21313864105876deabe148b.tar.xz
drm/ttm: fix eviction valuable range check.
This was adding size to start, but pfn and start are in pages, so it should be using num_pages. Not sure this fixes anything in the real world, just noticed it during refactoring. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Christian König <christian.koenig@amd.com> Cc: stable@vger.kernel.org Link: https://patchwork.freedesktop.org/patch/msgid/20201019222257.1684769-2-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions