[PATCH 0/3] Fixes for kernel queue handling issues

Oded Gabbay oded.gabbay at amd.com
Thu Jan 15 02:46:24 PST 2015


This small patch-set fixes a corner-case bug in kernel queue handling, which 
was caused by using a function called sync_with_hw().

The patch-set removes this function, as it is not needed anymore. As a result, 
we need to replace cpu_relax() with schedule() in DQM, so this patch-set takes 
care of that as well.

I would like this fix to be in 3.19 so please review.

Thanks,

	Oded

Oded Gabbay (3):
  drm/amdkfd: Replace cpu_relax() with schedule() in DQM
  drm/amdkfd: Remove unused function busy_wait()
  drm/amdkfd: Remove sync_with_hw() from amdkfd

 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |  3 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c      | 24 ----------------------
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h      |  2 --
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c       |  6 ------
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c    |  5 +----
 5 files changed, 3 insertions(+), 37 deletions(-)

-- 
2.1.0



More information about the dri-devel mailing list