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>
This commit is contained in:
Родитель
6380c50921
Коммит
a49a50dad4
|
@ -1357,6 +1357,7 @@ int evergreen_cp_resume(struct radeon_device *rdev)
|
|||
SOFT_RESET_PA |
|
||||
SOFT_RESET_SH |
|
||||
SOFT_RESET_VGT |
|
||||
SOFT_RESET_SPI |
|
||||
SOFT_RESET_SX));
|
||||
RREG32(GRBM_SOFT_RESET);
|
||||
mdelay(15);
|
||||
|
|
|
@ -1159,6 +1159,7 @@ int cayman_cp_resume(struct radeon_device *rdev)
|
|||
SOFT_RESET_PA |
|
||||
SOFT_RESET_SH |
|
||||
SOFT_RESET_VGT |
|
||||
SOFT_RESET_SPI |
|
||||
SOFT_RESET_SX));
|
||||
RREG32(GRBM_SOFT_RESET);
|
||||
mdelay(15);
|
||||
|
|
Загрузка…
Ссылка в новой задаче