]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95f2e56baa8821911f7c9272cebde8f14c6f724c
tree369e87201ddb801f7d740fbc8a1777c65655f9f6
parent8c37d807181731390adeb7a8197e6ec9d194f033
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