]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix SDMA queue init. in non-HWS mode
authorBen Goz <ben.goz@amd.com>
Tue, 10 Mar 2015 12:02:25 +0000 (14:02 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Mon, 16 Mar 2015 21:36:58 +0000 (23:36 +0200)
commitcbe416913b7381f3f88c11ece3f0da4db35ba249
treea78d8ea92bfe39aa5f01ac05224646dc05e9b9ad
parentf667d878a8915e5bd5c76e4a9e15cfdf3cdfab53
drm/amdkfd: Fix SDMA queue init. in non-HWS mode

This patch fixes the SDMA queue initialization, when running in non-HWS mode.

The first fix is to move the initialization of SDMA VM parameters before the
initialization of the SDMA MQD.

The second fix is to load the MQD to an HQD after the initialization of the MQD.

Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c