]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Fix R600/RV770 disable acceleration path
authorJerome Glisse <jglisse@redhat.com>
Thu, 1 Oct 2009 16:02:14 +0000 (18:02 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Oct 2009 23:34:09 +0000 (09:34 +1000)
commitf9cf9ad2c0ca4c011399e265e7ed33aac36348ec
tree55290a1349f059d3775e62f98d21460ddf3a0956
parent95f2e56baa8821911f7c9272cebde8f14c6f724c
drm/radeon/kms: Fix R600/RV770 disable acceleration path

When acceleration doesn't work we should free associated memory
and stop GPU block responsible for hardware acceleration so we
don't waste resource or let think one component of the driver that
a GPU feature is working/running while it doesn't actualy work.

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