]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB
authorAmber Lin <Amber.Lin@amd.com>
Tue, 22 Apr 2025 19:54:19 +0000 (15:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Apr 2025 22:05:46 +0000 (18:05 -0400)
commitab9fcc6362e0699fc1150aa1d8503c40fce2c1e1
tree55239147467e5360e6b3e2d235ba5d961ad91cc0
parentffc7e11c1014db7b2fef4b563a53d444a0932f40
drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB

When submitting MQD to CP, set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB bit so
it'll allow SDMA preemption if there is a massive command buffer of
long-running SDMA commands.

Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c