drm/radeon: Always flush the VM
authorJerome Glisse <jglisse@redhat.com>
Tue, 16 Apr 2013 16:20:15 +0000 (12:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Apr 2013 20:15:28 +0000 (16:15 -0400)
commit466476dfdcafbb4286ffa232a3a792731b9dc852
treee6e8e74b15c19067a4c639f2cea5a393ffab1250
parent2ab91adae722c63d1a4c9a6e414636e34804d792
drm/radeon: Always flush the VM

This is slightly cleaned up version of Jerome's patch.
There seems to be an issue tracking the last flush of
the VM which results in hangs in certain cases when
VM is used.  For now just flush the VM for every IB.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=62959
https://bugs.freedesktop.org/show_bug.cgi?id=62997

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_ring.c