diff options
author | Sam Bobroff <sbobroff@linux.ibm.com> | 2019-11-18 10:53:53 +1100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-19 10:12:54 -0500 |
commit | a542ad9e5de132cbb3e75b89008d44327a0d44d7 (patch) | |
tree | e6467b5a46dda47d537cca883d099d6f4b80cc53 /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | |
parent | dc9b3dbd28744510b78490dc6312848a8f918749 (diff) | |
download | linux-a542ad9e5de132cbb3e75b89008d44327a0d44d7.tar.bz2 |
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: d8f60cfc9345 ("drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)")
Fixes: 25a857fbe973 ("drm/radeon/kms: add support for interrupts on SI")
Fixes: a59781bbe528 ("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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c')
0 files changed, 0 insertions, 0 deletions