drm/radeon: move ring syncing after bo validation
authorChristian König <deathsimple@vodafone.de>
Thu, 23 Feb 2012 14:18:42 +0000 (15:18 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Feb 2012 10:01:57 +0000 (10:01 +0000)
commitcdac5504b2981520f993790f5d30c0cdc15c3214
tree27f9d6ed6948f0ad10d741f04508c2dde473e236
parenta02fa397b09cf1e02ecb922642b4ebb5e39f9234
drm/radeon: move ring syncing after bo validation

The function radeon_bo_list_validate can cause a
bo to move, resulting in a different sync_obj
and a dependency to wait for this move to finish.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c