Repository navigation
Commit 62d91dd
drm/radeon: fix bad DMA from INTERRUPT_CNTL2
The INTERRUPT_CNTL2 register expects a valid DMA address, but is
currently set with a GPU MC address. This can cause problems on
systems that detect the resulting DMA read from an invalid address
(found on a Power8 guest).
Instead, use the DMA address of the dummy page because it will always
be safe.
Fixes: d8f60cf ("drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)")
Fixes: 25a857f ("drm/radeon/kms: add support for interrupts on SI")
Fixes: a59781b ("drm/radeon: add support for interrupts on CIK (v5)")
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent e3dd3aa commit 62d91dd
3 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6965 | 6965 | | |
6966 | 6966 | | |
6967 | 6967 | | |
6968 | | - | |
6969 | | - | |
| 6968 | + | |
| 6969 | + | |
6970 | 6970 | | |
6971 | 6971 | | |
6972 | 6972 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3696 | 3696 | | |
3697 | 3697 | | |
3698 | 3698 | | |
3699 | | - | |
3700 | | - | |
| 3699 | + | |
| 3700 | + | |
3701 | 3701 | | |
3702 | 3702 | | |
3703 | 3703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5997 | 5997 | | |
5998 | 5998 | | |
5999 | 5999 | | |
6000 | | - | |
6001 | | - | |
| 6000 | + | |
| 6001 | + | |
6002 | 6002 | | |
6003 | 6003 | | |
6004 | 6004 | | |
| |||
0 commit comments