commit | 45600232b3dbb97817c9e15de848c742901893e1 | [log] [tgz] |
---|---|---|
author | Jerome Glisse <jglisse@redhat.com> | Wed Sep 09 22:23:45 2009 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Thu Sep 10 10:12:41 2009 +1000 |
tree | dc8953d21cfc3d48faedcabef87e62dee3242ee1 | |
parent | 5d93b135fc051be3740cbe55729fc7b86a7069d7 [diff] |
drm/radeon/kms: wait for cp idle before stopping it. If we stop CP and that it's still processing thing GPU hang might happen, this patch wait for CP idle (the wait can timeout) so we can avoid shutting down CP at bad time. This is especialy usefull when reseting the GPU as it seems GPU reset fails to properly reset CP when the CP wasn't stop after being idle. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>