linux/drivers/gpu/drm/ttm
Tom St Denis 95244db2d3 drm/ttm: Fix 'buf' pointer update in ttm_bo_vm_access_kmap() (v2)
The buf pointer was not being incremented inside the loop
meaning the same block of data would be read or written
repeatedly.

(v2) Change 'buf' pointer to uint8_t* type

Cc: stable@vger.kernel.org
Fixes: 09ac4fcb3f ("drm/ttm: Implement vm_operations_struct.access v2")

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-01-29 23:09:31 -05: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 drm/ttm: use an operation ctx for ttm_tt_populate in ttm_bo_driver (v2) 2017-12-28 09:48:19 -05:00
ttm_bo.c drm/ttm: fix missing parameter change for ttm_bo_cleanup_refs 2018-01-29 22:53:12 -05:00
ttm_bo_manager.c drm/ttm: make ttm_mem_type_manager_func debug more useful 2017-08-17 15:45:59 -04:00
ttm_bo_util.c drm/ttm: use an operation ctx for ttm_tt_bind 2017-12-28 09:48:20 -05:00
ttm_bo_vm.c drm/ttm: Fix 'buf' pointer update in ttm_bo_vm_access_kmap() (v2) 2018-01-29 23:09:31 -05:00
ttm_execbuf_util.c drm/ttm: consistently use reservation_object_unlock 2017-12-06 12:47:19 -05:00
ttm_lock.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
ttm_memory.c drm/ttm: enable swapout for reserved BOs during allocation 2017-12-28 09:48:20 -05:00
ttm_module.c drm/ttm: make device_released static 2014-07-22 12:59:32 +10:00
ttm_object.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
ttm_page_alloc.c Merge branch 'drm-next-4.16' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-01-25 11:40:54 +10:00
ttm_page_alloc_dma.c drm/ttm: add VADDR_FLAG_UPDATED_COUNT to correctly update dma_page global count 2018-01-18 16:07:26 -05:00
ttm_tt.c drm/ttm: use an operation ctx for ttm_tt_bind 2017-12-28 09:48:20 -05:00