aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
diff options
context:
space:
mode:
authorJonathan Kim <[email protected]>2023-09-11 16:18:43 +0000
committerAlex Deucher <[email protected]>2023-09-20 20:23:57 +0000
commitd92e55565c53eff6d0c549090487d0a1ef704e1c (patch)
tree04bdeea1a47737dda57b6d15c4f306223e64c925 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
parentdrm/amdgpu: add amdgpu mca debug sysfs support (diff)
downloadkernel-d92e55565c53eff6d0c549090487d0a1ef704e1c.tar.gz
kernel-d92e55565c53eff6d0c549090487d0a1ef704e1c.zip
drm/amdkfd: fix add queue process context clear without runtime enable
There are cases where HSA runtime is not enabled through the AMDKFD_IOC_RUNTIME_ENABLE call when adding queues and the MES ADD_QUEUE API should clear the MES process context instead of SET_SHADER_DEBUGGER. Such examples are legacy HSA runtime builds that do not support the current exception handling and running KFD tests. The only time ADD_QUEUE.skip_process_ctx_clear is required is for debugger use cases where a debugged process is always runtime enabled when adding a queue. Tested-by: Shikai Guo <[email protected]> Signed-off-by: Jonathan Kim <[email protected]> Acked-by: Felix Kuehling <[email protected]> Reviewed-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
0 files changed, 0 insertions, 0 deletions