Skip to content

Fixes for kernel queue handling issues

Oded Gabbay dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amdkfd: Replace cpu_relax() with schedule() in DQMdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c+2 -10 replies
2/3drm/amdkfd: Remove unused function busy_wait()drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c+0 -60 replies
3/3drm/amdkfd: Remove sync_with_hw() from amdkfddrivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c+1 -300 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlex Deucher
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 6 lines
2.1.0

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel