drm/radeon: rework the vm_flush interface
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Oct 2012 18:43:38 +0000 (14:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Oct 2012 19:01:21 +0000 (15:01 -0400)
commit498522b455e8867bed5d59234c209b0be8ec4b57
treee7d59e6d1574a1c89850d24cefa3fdf863ce8953
parent76c44f2c0d008b60ce3058c51d85fa36d98c3681
drm/radeon: rework the vm_flush interface

Pass the vm and ring index rather than an IB.  This allows
us to use the vm_flush interface for non-IB cases in the
future.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_ring.c
drivers/gpu/drm/radeon/si.c