On Sat, Aug 12, 2017 at 12:56 AM, Felix Kuehling <Felix.Kuehling at amd.com> wrote: > Signed-off-by: Felix Kuehling <Felix.Kuehling at amd.com> > --- > drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c b/drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c > index d5e19b5..8b14a4e 100644 > --- a/drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c > +++ b/drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c > @@ -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); > -- > 2.7.4 > This patch is: Reviewed-by: Oded Gabbay <oded.gabbay at gmail.com>