Renoir is the same with Raven, will enable iommu event in future.

Signed-off-by: Huang Rui <[email protected]>
---
 drivers/gpu/drm/amd/amdkfd/kfd_events.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_events.c 
b/drivers/gpu/drm/amd/amdkfd/kfd_events.c
index 3e22fa3..bb3a642 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_events.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_events.c
@@ -987,7 +987,8 @@ void kfd_signal_iommu_event(struct kfd_dev *dev, unsigned 
int pasid,
         * before IOMMU is able to finish processing all the excessive PPRs
         * triggered due to HW flaws.
         */
-       if (dev->device_info->asic_family != CHIP_RAVEN) {
+       if (dev->device_info->asic_family != CHIP_RAVEN ||
+           dev->device_info->asic_family != CHIP_RENOIR) {
                mutex_lock(&p->event_mutex);
 
                /* Lookup events by type and signal them */
-- 
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to