diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3729-drm-amdkfd-add-renoir-type-for-the-workaround-of-iom.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3729-drm-amdkfd-add-renoir-type-for-the-workaround-of-iom.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3729-drm-amdkfd-add-renoir-type-for-the-workaround-of-iom.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3729-drm-amdkfd-add-renoir-type-for-the-workaround-of-iom.patch new file mode 100644 index 00000000..cfbc286a --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3729-drm-amdkfd-add-renoir-type-for-the-workaround-of-iom.patch @@ -0,0 +1,33 @@ +From f2788e9011ed1338fcc8ec00c2d0b0f9a028716c Mon Sep 17 00:00:00 2001 +From: Huang Rui <ray.huang@amd.com> +Date: Mon, 2 Sep 2019 23:13:26 +0800 +Subject: [PATCH 3729/4256] drm/amdkfd: add renoir type for the workaround of + iommu v2 (v2) + +Renoir is the same with Raven, will enable iommu event in future. + +v2: fix the checking (Thong) + +Signed-off-by: Huang Rui <ray.huang@amd.com> +Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> +--- + 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 b5a7b6bb4a60..38a99ba91a88 100644 +--- a/drivers/gpu/drm/amd/amdkfd/kfd_events.c ++++ b/drivers/gpu/drm/amd/amdkfd/kfd_events.c +@@ -937,7 +937,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.17.1 + |