• Jonathan Kim's avatar
    drm/amdkfd: enable cooperative groups for gfx11 · 7a1c5c67
    Jonathan Kim authored
    MES can concurrently schedule queues on the device that require
    exclusive device access if marked exclusively_scheduled without the
    requirement of GWS.  Similar to the F32 HWS, MES will manage
    quality of service for these queues.
    Use this for cooperative groups since cooperative groups are device
    occupancy limited.
    
    Since some GFX11 devices can only be debugged with partial CUs, do not
    allow the debugging of cooperative groups on these devices as the CU
    occupancy limit will change on attach.
    
    In addition, zero initialize the MES add queue submission vector for MES
    initialization tests as we do not want these to be cooperative
    dispatches.
    Signed-off-by: default avatarJonathan Kim <jonathan.kim@amd.com>
    Reviewed-by: default avatarFelix Kuehling <felix.kuehling@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    7a1c5c67
amdgpu_mes.h 14.8 KB