linux_dsm_epyc7002/drivers/gpu/drm/amd
Yong Zhao 8725aecac3 drm/amdkfd: Workaround to accommodate Raven too many PPR issue
On Raven multiple PPRs can be queued up by the hardware. When the
first of those requests is handled by the IOMMU driver, the memory
access succeeds. After that the application may be done with the
memory and unmap it. At that point the page table entries are
invalidated, but there are still outstanding duplicate PPRs for those
addresses. When the IOMMU driver processes those duplicate requests,
it finds invalid page table entries and triggers an invalid PPR fault.

As a workaround, don't signal invalid PPR faults on Raven to avoid
segfaulting applications that haven't done anything wrong. As a side
effect, real GPU memory access faults may go unnoticed by the
application.

Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2018-07-13 16:17:46 -04:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Avoid destroy hqd when GPU is on reset 2018-07-11 22:33:03 -04:00
amdkfd drm/amdkfd: Workaround to accommodate Raven too many PPR issue 2018-07-13 16:17:46 -04:00
display drm/amd/display: DC 3.1.58 2018-07-24 15:16:07 -05:00
include drm/amd: Add gpu reset interfaces between amdgpu and amdkfd 2018-07-11 22:32:52 -04:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: allow slow switch only if NBPState enabled v2 2018-07-24 15:14:35 -05:00