]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix bug with IH ring setup
authorPhilip Yang <Philip.Yang@amd.com>
Mon, 12 Nov 2018 19:00:45 +0000 (14:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Nov 2018 14:38:28 +0000 (09:38 -0500)
commitc2597b85d7dcba252e67fb7d43627373f61117e1
treea8158991208027288232b1d9a2bad4a95ec8a181
parentac22cfe480bc164f26600850613a513ea964482b
drm/amdgpu: fix bug with IH ring setup

The bug limits the IH ring wptr address to 40bit. When the system memory
is bigger than 1TB, the bus address is more than 40bit, this causes the
interrupt cannot be handled and cleared correctly.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vega10_ih.c