• Yair Shachar's avatar
    drm/amdkfd: Add static user-mode queues support · 992839ad
    Yair Shachar authored
    This patch adds support for static user-mode queues in QCM.
    Queues which are designated as static can NOT be preempted by
    the CP microcode when it is executing its scheduling algorithm.
    
    This is needed for supporting the debugger feature, because we
    can't allow the CP to preempt queues which are currently being debugged.
    
    The number of queues that can be designated as static is limited by the
    number of HQDs (Hardware Queue Descriptors).
    Signed-off-by: default avatarYair Shachar <yair.shachar@amd.com>
    Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
    992839ad
kfd_packet_manager.c 15.9 KB