• Jerome Glisse's avatar
    drm/radeon/kms: R3XX-R4XX fix GPU reset code · a1e9ada3
    Jerome Glisse authored
    Previous reset code leaded to computer hard lockup (need to unplug
    the power too reboot the computer) on various configuration. This
    patch change the reset code to avoid hard lockup. The GPU reset
    is failing most of the time but at least user can log in remotely
    or properly shutdown the computer.
    
    Two issues were leading to hard lockup :
    - Writting to the scratch register lead to hard lockup most likely
    because the write back mecanism is in fuzy state after GPU lockup.
    - Resetting the GPU memory controller and not reinitializing it
    after leaded to hard lockup. We did only reinitialize in case of
    successfull reset thus unsuccessfull reset quickly leaded to hard
    lockup.
    Signed-off-by: default avatarJerome Glisse <jglisse@redhat.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    a1e9ada3
radeon_fence.c 10.9 KB