From: Jerome Glisse Date: Thu, 1 Oct 2009 16:02:12 +0000 (+0200) Subject: drm/radeon/kms: Fix R600 write back buffer X-Git-Tag: v2.6.32-rc4~32^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81cc35bfc19ebe4b823396fe4fef67a923360916;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed