diff options
| author | Dave Airlie <airlied@redhat.com> | 2020-10-20 08:22:53 +1000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-05 11:08:54 +0100 |
| commit | 36beb0e4d553671273710890e9357aaebc996f36 (patch) | |
| tree | b7eb91debac61cd44fa2aca30c58b0441e2e0a51 /include | |
| parent | 7b97149296ef752a1576d0939f629dd30e83e03d (diff) | |
drm/ttm: fix eviction valuable range check.
commit fea456d82c19d201c21313864105876deabe148b upstream.
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
