Files
linux/drivers/gpu/drm
Sam Bobroff 11753c760b drm/radeon: fix bad DMA from INTERRUPT_CNTL2
[ Upstream commit 62d91dd285 ]

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: d8f60cfc93 ("drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)")
Fixes: 25a857fbe9 ("drm/radeon/kms: add support for interrupts on SI")
Fixes: a59781bbe5 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 16:47:18 +09:00
..
2023-05-15 16:15:25 +09:00
2018-03-22 09:54:47 +01:00
2016-09-19 15:04:15 +02:00
2016-08-07 23:38:48 -04:00
2016-09-21 13:33:50 +02:00
2018-08-14 19:41:01 -07:00
2016-09-06 13:56:41 -04:00
2016-09-19 13:57:38 +02:00
2016-09-19 13:57:38 +02:00
2016-09-19 13:57:38 +02:00
2018-08-14 19:40:39 -07:00