]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Initialize sdma vm when creating sdma queue
authorXihan Zhang <xihan.zhang@amd.com>
Tue, 28 Apr 2015 15:48:40 +0000 (23:48 +0800)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 7 May 2015 14:38:06 +0000 (17:38 +0300)
commite3e2e6d1e5ff1e062d697046352e18c12b70a14c
tree8666036d0a16773b362343d8f3fcd7dac021b9c1
parente43225a725860ebdb713be8a1627fc23d728ed3c
drm/amdkfd: Initialize sdma vm when creating sdma queue

This patch fixes a bug where sdma vm wasn't initialized when
an sdma queue was created in HWS mode.

This caused GPUVM faults to appear on dmesg and it is one of the
causes that SDMA queues are not working.

Signed-off-by: Xihan Zhang <xihan.zhang@amd.com>
Reviewed-by: Ben Goz <ben.goz@amd.comt>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Cc: stable@vger.kernel.org
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c