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

Alex Deucher alexdeucher at gmail.com
Tue Jan 20 09:05:50 PST 2015


On Thu, Jan 15, 2015 at 5:46 AM, Oded Gabbay <oded.gabbay at amd.com> wrote:
> 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.

I'm not really too familiar with these corner cases, but the logic
seems correct so series is:
Acked-by: Alex Deucher <alexander.deucher at amd.com>


>
> 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
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list