drm/amdkfd: Fix typo in dbgdev_wave_reset_wavefronts
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 16 Aug 2017 02:59:59 +0000 (22:59 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 16 Aug 2017 02:59:59 +0000 (22:59 -0400)
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c

index d5e19b5fbbfb00d1fbbcd1066da0ac4f12424ec3..8b14a4e1a43e18390a37595a52134c4d35683902 100644 (file)
@@ -823,7 +823,7 @@ int dbgdev_wave_reset_wavefronts(struct kfd_dev *dev, struct kfd_process *p)
        for (vmid = first_vmid_to_scan; vmid <= last_vmid_to_scan; vmid++) {
                if (dev->kfd2kgd->get_atc_vmid_pasid_mapping_valid
                                (dev->kgd, vmid)) {
-                       if (dev->kfd2kgd->get_atc_vmid_pasid_mapping_valid
+                       if (dev->kfd2kgd->get_atc_vmid_pasid_mapping_pasid
                                        (dev->kgd, vmid) == p->pasid) {
                                pr_debug("Killing wave fronts of vmid %d and pasid %d\n",
                                                vmid, p->pasid);