drm/radeon/kms: match r6xx/r7xx/evergreen asic_reset with previous asics
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 21 Jan 2011 15:38:22 +0000 (15:38 +0000)
committerDave Airlie <airlied@gmail.com>
Mon, 24 Jan 2011 01:05:25 +0000 (11:05 +1000)
commit8d96fe9381fa235a81c73c8f940e2fcc84f41caf
treeeedf45c7dbee1b27694243d4820ff136a7321af6
parentbe23da8ad219650517cbbb7acbeaeb235667113a
drm/radeon/kms: match r6xx/r7xx/evergreen asic_reset with previous asics

Don't reset if the engine isn't busy.  This matches the behavior of
previous asics.  Reseting a non-hung block can lead to a hang.

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

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c