drm/radeon/kms: Fix R600/RV770 startup path & reset
authorJerome Glisse <jglisse@redhat.com>
Thu, 1 Oct 2009 16:02:13 +0000 (18:02 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Oct 2009 23:34:03 +0000 (09:34 +1000)
commita3c1945aaf48a5893238d95139f202531994094d
tree369e87201ddb801f7d740fbc8a1777c65655f9f6
parent81cc35bfc19ebe4b823396fe4fef67a923360916
drm/radeon/kms: Fix R600/RV770 startup path & reset

We were calling reset unconditionaly in the startup path
this is bad we need to call GPU reset for a good reason
as after reset the GPU is in unknown states. To avoid any
more bad things to happen we now also unconditionaly
reinitialize the GPU after reset. This patch fix few issues
reported by different people regarding KMS & R6XX/RV7XX hw.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/rv770.c