commit | 81cc35bfc19ebe4b823396fe4fef67a923360916 | [log] [tgz] |
---|---|---|
author | Jerome Glisse <jglisse@redhat.com> | Thu Oct 01 18:02:12 2009 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Fri Oct 02 09:33:52 2009 +1000 |
tree | da9cbddd170b1c93067f9c8e6411cbe02860f3e2 | |
parent | 62a8ea3f7bb61e5f92db0a648b7cc566852c36ec [diff] |
drm/radeon/kms: Fix R600 write back buffer This split write back buffer handling into 3 functions, wb_fini for cleanup, wb_enable/wb_disable for enabling/disabling write back used for suspend/resume. This should fix potential issue of letting the write back active before suspending. We need to allocate memory in wb_enable because we can only allocate once GART is running. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>