aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorFlora Cui <[email protected]>2016-04-20 02:23:47 +0000
committerAlex Deucher <[email protected]>2016-04-27 16:26:50 +0000
commit56fc350224f16901db709cd8cba86bac751aa2a2 (patch)
treef9b6f852d5d928e463a1427bcb95f6a54f72634a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentMerge branch 'drm-fixes-4.6' of git://people.freedesktop.org/~agd5f/linux int... (diff)
downloadkernel-56fc350224f16901db709cd8cba86bac751aa2a2.tar.gz
kernel-56fc350224f16901db709cd8cba86bac751aa2a2.zip
drm/ttm: fix kref count mess in ttm_bo_move_to_lru_tail
Fixes the following scenario: 1. Page table bo allocated in vram and linked to man->lru. tbo->list_kref.refcount=2 2. Page table bo is swapped out and removed from man->lru. tbo->list_kref.refcount=1 3. Command submission from userspace. Page table bo is moved to vram. ttm_bo_move_to_lru_tail() link it to man->lru and don't increase the kref count. Reviewed-by: Thomas Hellstrom <[email protected]> Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions