drm/radeon: update lockup tracking when scheduling in empty ring
authorJerome Glisse <jglisse@redhat.com>
Wed, 19 Jun 2013 14:02:28 +0000 (10:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Jun 2013 18:45:08 +0000 (14:45 -0400)
commit8444d5c69549aa0f0b574cc608742d4669e1cc01
tree59f7dde4636afd2260815d7d5beda15c0f42f3ab
parentc139b1ee4e36374af705660af6172d7477352792
drm/radeon: update lockup tracking when scheduling in empty ring

There might be issue with lockup detection when scheduling on an
empty ring that have been sitting idle for a while. Thus update
the lockup tracking data when scheduling new work in an empty ring.

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