From: Alex Deucher Date: Tue, 11 Jan 2011 18:36:55 +0000 (-0500) Subject: drm/radeon/kms: balance asic_reset functions X-Git-Tag: v2.6.38-rc1~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25b2ec5b643c9ea784e5a51e5e9602cd536965f2;p=pandora-kernel.git drm/radeon/kms: balance asic_reset functions First, we were calling mc_stop() at the top of the function which turns off all MC (memory controller) clients, then checking if the GPU is idle. If it was idle we returned without re-enabling the MC clients which would lead to a blank screen, etc. This patch checks if the GPU is idle before calling mc_stop(). Second, if the reset failed, we were returning without re-enabling the MC clients. This patch re-enables the MC clients before returning regardless of whether the reset was successful or not. Signed-off-by: Alex Deucher Cc: Jerome Glisse Signed-off-by: Dave Airlie --- Reading git-diff-tree failed