]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Load mqd to hqd in non-HWS mode
authorBen Goz <ben.goz@amd.com>
Sun, 4 Jan 2015 19:46:44 +0000 (21:46 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Sun, 4 Jan 2015 19:46:44 +0000 (21:46 +0200)
commit8fee27a8c552bef06dd7a86bd9b535fc2d10f8c5
treeaa962e69be66d24cfdde64e8edcc0ff8256804aa
parent2c13eba7d3c827022e383699b4a1622b96216ff0
drm/amdkfd: Load mqd to hqd in non-HWS mode

This patch fixes a bug in DQM, where the MQD of a newly created compute queue
is not loaded to an HQD slot. As a result, the CP never reads packets from this
queue.

This bug happens only in non-HWS (hardware scheduling) mode. In HWS mode, the
CP is responsible of loading MQDs to HQDs slots.

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