1
0
Fork 0
alistair23-linux/drivers/gpu/drm/ttm
Dave Airlie b7e1a637ea 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:43:35 +01:00
..
Makefile drm/ttm, drm/vmwgfx: Move the lock- and object functionality to the vmwgfx driver 2018-09-27 15:19:20 +02:00
ttm_agp_backend.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo.c drm/ttm: fix eviction valuable range check. 2020-11-05 11:43:35 +01:00
ttm_bo_manager.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo_util.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
ttm_bo_vm.c drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access 2020-08-26 10:40:56 +02:00
ttm_execbuf_util.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
ttm_memory.c drm pull request for 5.2 2019-05-08 21:35:19 -07:00
ttm_module.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_page_alloc.c drm/ttm: fix incrementing the page pointer for huge pages 2019-04-11 10:01:51 -05:00
ttm_page_alloc_dma.c drm/ttm: use the same attributes when freeing d_page->vaddr 2019-07-18 14:18:07 -05:00
ttm_tt.c drm/ttm/nouveau: don't call tt destroy callback on alloc failure. 2020-08-19 08:16:24 +02:00