]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: fix ttm_bo_bulk_move_helper
authorChristian König <christian.koenig@amd.com>
Fri, 31 Aug 2018 13:06:35 +0000 (15:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 2 Sep 2018 15:16:32 +0000 (10:16 -0500)
commit4a42b91c49c7198d0e74e4d0cff96450635fce0f
tree3be2b27fd1ee0625cc890682f1f2020f48ddeadd
parentade0be38649c65e3f0b591e5382bfce5549bbd98
drm/ttm: fix ttm_bo_bulk_move_helper

Staring at the function for six hours, just to essentially move one line
of code. The problem was that the first list_cut_position call could result
in list2 pointing to la-la-land.

Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c