linux/drivers/gpu/drm/ttm
Dave Airlie 36beb0e4d5 drm/ttm: fix eviction valuable range check.
commit fea456d82c 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>
2020-11-05 11:08:54 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ttm_agp_backend.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo_manager.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo_util.c drm/ttm: fix LRU handling in ttm_buffer_object_transfer 2018-12-21 14:15:15 +01:00
ttm_bo_vm.c drm/ttm: Restore ttm prefaulting 2019-10-29 09:19:54 +01:00
ttm_bo.c drm/ttm: fix eviction valuable range check. 2020-11-05 11:08:54 +01:00
ttm_execbuf_util.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_lock.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_memory.c drm/ttm: Fix bo_global and mem_global kfree error 2019-04-20 09:16:02 +02:00
ttm_module.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_object.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_page_alloc_dma.c drm/ttm: fix missed conversion of set_pages_array_uc 2018-08-01 17:22:20 -05:00
ttm_page_alloc.c drm/ttm: fix incrementing the page pointer for huge pages 2020-01-17 19:47:02 +01:00
ttm_tt.c drm/ttm/nouveau: don't call tt destroy callback on alloc failure. 2020-08-19 08:15:06 +02:00