]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/amdkfd: Replace cpu_relax() with schedule() in DQM
authorOded Gabbay <oded.gabbay@amd.com>
Thu, 15 Jan 2015 10:01:10 +0000 (12:01 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 15 Jan 2015 10:01:10 +0000 (12:01 +0200)
commit99331a51cc788cb60780278cf2d6b1105cf23828
tree5ba5849387e83a4cd4af85b5a5d71dffd9b2607d
parentf0ec5b9905ca8dfc44c6419dc068a335208398a7
drm/amdkfd: Replace cpu_relax() with schedule() in DQM

In order not to occupy the current core and thus prevent the core from
servicing IOMMU PPR requests, this patch replaces the call in DQM to
cpu_relax() with a call to schedule().

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c