diff options
| author | Alex Deucher <[email protected]> | 2011-01-11 18:36:55 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2011-01-17 02:21:57 +0000 |
| commit | 25b2ec5b643c9ea784e5a51e5e9602cd536965f2 (patch) | |
| tree | a6a7f9f7423f2957819d362cadad37a53da5ee0f /fs/xfs/support/debug.c | |
| parent | drm/radeon/kms: remove duplicate card_posted() functions (diff) | |
| download | kernel-25b2ec5b643c9ea784e5a51e5e9602cd536965f2.tar.gz kernel-25b2ec5b643c9ea784e5a51e5e9602cd536965f2.zip | |
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 <[email protected]>
Cc: Jerome Glisse <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'fs/xfs/support/debug.c')
0 files changed, 0 insertions, 0 deletions
