drm/amdkfd: Avoid flooding dmesg on Raven due to IOMMU issues
authorYong Zhao <yong.zhao@amd.com>
Fri, 13 Jul 2018 20:17:45 +0000 (16:17 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Fri, 13 Jul 2018 20:17:45 +0000 (16:17 -0400)
commiteab69801cf4388aeba2c730ce4db746ae164eada
treebe4d0ea47640fa0bf0defca4c42d740478e12b9b
parent98bb92222eef6ac022f352aa4224f4c94a119199
drm/amdkfd: Avoid flooding dmesg on Raven due to IOMMU issues

On Raven Invalid PPRs (peripheral page requests) can be reported
because multiple PPRs can be still queued when memory is freed.
Apply a rate limit to avoid flooding the log in this case.

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>
drivers/gpu/drm/amd/amdkfd/kfd_iommu.c