diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-11 21:36:55 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-17 05:21:57 +0300 |
commit | 25b2ec5b643c9ea784e5a51e5e9602cd536965f2 (patch) | |
tree | a6a7f9f7423f2957819d362cadad37a53da5ee0f /arch/alpha | |
parent | fd909c3718da3fb8c5c0530f93ae21d85dc31471 (diff) | |
download | linux-25b2ec5b643c9ea784e5a51e5e9602cd536965f2.tar.xz |
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 <alexdeucher@gmail.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'arch/alpha')
0 files changed, 0 insertions, 0 deletions