[PATCH] drm/radeon/kms/vm: fix possible bug in radeon_vm_bo_rmv()

2012-02-29 Thread Jerome Glisse
On Wed, 2012-02-29 at 11:04 -0500, alexdeucher at gmail.com wrote: > From: Sebastian Biemueller > > The bo is removed from the list at the top of > radeon_vm_bo_rmv(), but then the list is used > in radeon_vm_bo_update_pte() to look up the vm. > remove the bo_list entry at the end of the > functi

[PATCH] drm/radeon/kms/vm: fix possible bug in radeon_vm_bo_rmv()

2012-02-29 Thread alexdeuc...@gmail.com
From: Sebastian Biemueller The bo is removed from the list at the top of radeon_vm_bo_rmv(), but then the list is used in radeon_vm_bo_update_pte() to look up the vm. remove the bo_list entry at the end of the function instead. Signed-off-by: Alex Deucher Cc: Jerome Glisse --- drivers/gpu/drm

Re: [PATCH] drm/radeon/kms/vm: fix possible bug in radeon_vm_bo_rmv()

2012-02-29 Thread Jerome Glisse
On Wed, 2012-02-29 at 11:04 -0500, alexdeuc...@gmail.com wrote: > From: Sebastian Biemueller > > The bo is removed from the list at the top of > radeon_vm_bo_rmv(), but then the list is used > in radeon_vm_bo_update_pte() to look up the vm. > remove the bo_list entry at the end of the > function

[PATCH] drm/radeon/kms/vm: fix possible bug in radeon_vm_bo_rmv()

2012-02-29 Thread alexdeucher
From: Sebastian Biemueller The bo is removed from the list at the top of radeon_vm_bo_rmv(), but then the list is used in radeon_vm_bo_update_pte() to look up the vm. remove the bo_list entry at the end of the function instead. Signed-off-by: Alex Deucher Cc: Jerome Glisse --- drivers/gpu/drm