Rev 5078 | Rev 5179 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5078 | Rev 5139 | ||
---|---|---|---|
Line 487... | Line 487... | ||
487 | */ |
487 | */ |
488 | int cik_sdma_resume(struct radeon_device *rdev) |
488 | int cik_sdma_resume(struct radeon_device *rdev) |
489 | { |
489 | { |
490 | int r; |
490 | int r; |
Line 491... | Line -... | ||
491 | - | ||
492 | /* Reset dma */ |
- | |
493 | WREG32(SRBM_SOFT_RESET, SOFT_RESET_SDMA | SOFT_RESET_SDMA1); |
- | |
494 | RREG32(SRBM_SOFT_RESET); |
- | |
495 | udelay(50); |
- | |
496 | WREG32(SRBM_SOFT_RESET, 0); |
- | |
497 | RREG32(SRBM_SOFT_RESET); |
- | |
498 | 491 | ||
499 | r = cik_sdma_load_microcode(rdev); |
492 | r = cik_sdma_load_microcode(rdev); |
500 | if (r) |
493 | if (r) |
Line 501... | Line 494... | ||
501 | return r; |
494 | return r; |