]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:change sequence of SDMA v4 init
authorMonk Liu <Monk.Liu@amd.com>
Fri, 24 Feb 2017 04:06:22 +0000 (12:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:39 +0000 (23:55 -0400)
commitc2ec5705161aabfa58ebbca2a62f8016dd6a743c
tree9276818ace0483b687cb03715dd238385821fa69
parentfea9f7b48b5aaf19f281abadb53896a60ea32e3d
drm/amdgpu:change sequence of SDMA v4 init

must set minor_update.enable before write smaller value
to wptr/doorbell, so for sriov we need set that register
bit in hw_init period.

this could fix the SDMA ring test fail after guest reboot

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c