]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Ensure the DMA engine is deactivated during set ups
authorHaohui Mai <ricetons@gmail.com>
Sat, 30 Apr 2022 07:34:00 +0000 (00:34 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 May 2022 14:02:57 +0000 (10:02 -0400)
commit9b429e36612329a13c2208a0255fa6c311a05cdb
tree6ee3b1b3fb4fa0dc4d3326c7614131aeaeb1861f
parentdeda98b66fdae6ae2599f42af3b5afdc043de850
drm/amdgpu: Ensure the DMA engine is deactivated during set ups

Setting the HALT bit of SDMA_F32_CNTL in all paths before programming
the ring buffer of the SDMA engine.

Signed-off-by: Haohui Mai <ricetons@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c