drm/radeon: fix VM IB handling
authorChristian König <christian.koenig@amd.com>
Fri, 18 Jul 2014 11:48:10 +0000 (13:48 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Jul 2014 17:17:38 +0000 (13:17 -0400)
commitcc9e67e3d7000c1efbaf929c6bdaf78707407b3b
tree821067ec1bd97e60b1ff140b0f5227c436fa3808
parent036bf46a3962c87fc6ab5e6dbc65f469730b4cf0
drm/radeon: fix VM IB handling

Calling radeon_vm_bo_find on the IB BO during CS
is illegal and can lead to an crash.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_kms.c
drivers/gpu/drm/radeon/radeon_vm.c