drm/radeon/kms: evergreen & ni reset SPI block on CP resume
authorJerome Glisse <jglisse@redhat.com>
Wed, 24 Aug 2011 20:00:17 +0000 (20:00 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 30 Aug 2011 09:55:10 +0000 (10:55 +0100)
commita49a50dad48586d42ebac1a6730c3a3cd5603421
treecaab1e68528de81ca9075bb3efd2edf96edbe498
parent6380c509215b10c44aec8760e65b2e7f1827d009
drm/radeon/kms: evergreen & ni reset SPI block on CP resume

For some reason SPI block is in broken state after module
unloading. This lead to broken rendering after reloading
module. Fix this by reseting SPI block in CP resume function

Signed-off-by: Jerome Glisse <jglisse@redhat.com
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c