diff options
author | Jerome Glisse <glisse@freedesktop.org> | 2008-04-12 00:15:12 +0200 |
---|---|---|
committer | Jerome Glisse <glisse@freedesktop.org> | 2008-04-12 00:15:12 +0200 |
commit | 5891b0bd2ae441d738e78737a4c4826bd2e60b43 (patch) | |
tree | 79779c96420b5156969f19ec71f3043db9a0e829 /shared-core/radeon_ms_bo.c | |
parent | 779e826c1e2c127f4950c78a56cc314c43b7eb56 (diff) |
radeon_ms: rework command submission ioctl & cleanup
Diffstat (limited to 'shared-core/radeon_ms_bo.c')
-rw-r--r-- | shared-core/radeon_ms_bo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shared-core/radeon_ms_bo.c b/shared-core/radeon_ms_bo.c index 015595a4..b366ae5a 100644 --- a/shared-core/radeon_ms_bo.c +++ b/shared-core/radeon_ms_bo.c @@ -134,8 +134,9 @@ static int radeon_ms_bo_move_blit(struct drm_buffer_object *bo, ret = drm_bo_move_accel_cleanup(bo, evict, no_wait, 0, DRM_FENCE_TYPE_EXE | - DRM_RADEON_FENCE_TYPE_RW, - DRM_RADEON_FENCE_FLAG_FLUSHED, + DRM_AMD_FENCE_TYPE_R | + DRM_AMD_FENCE_TYPE_W, + DRM_AMD_FENCE_FLAG_FLUSH, new_mem); return ret; } |