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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2013 17:38:45 +0000 (10:38 -0700)
commita4cf36527d2897bc14387201fa2ed6772c0ef4ff
treebfabd9385a42d6633e578f3ee9174064c9b9c1b2
parent7811fd799beebd19076ec84ea160f0f14bf40f7d
drm/radeon: update lockup tracking when scheduling in empty ring

commit 8444d5c69549aa0f0b574cc608742d4669e1cc01 upstream.

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>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_ring.c