drm/radeon: init lockup timeout on ring init
authorChristian König <deathsimple@vodafone.de>
Mon, 20 Aug 2012 13:38:47 +0000 (15:38 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Aug 2012 15:09:48 +0000 (11:09 -0400)
commit48c0ac9911839daf188e4a0b6b132ac31050a241
tree67aa23e09f161995a9e32c4ed2191d4db5b21fc1
parent5efcc76c13a745f98e7b6604d6aca49761be1970
drm/radeon: init lockup timeout on ring init

Reset the lockup timeout on ring (re-)initialisation.

Otherwise we get error messages like this on gpu resets:
[ 1559.949177] radeon 0000:01:00.0: GPU lockup CP stall for more than 1482270msec

Signed-off-by: Christian König <deathsimple@vodafone.de>
cc: stable@vger.kernel.org
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
drivers/gpu/drm/radeon/radeon_ring.c