]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: fix runlist length calculation
authorBen Goz <ben.goz@amd.com>
Tue, 6 Jan 2015 09:32:13 +0000 (11:32 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Mon, 20 Jul 2015 06:16:49 +0000 (09:16 +0300)
commit8f4d23ff447fe2bce90a0d92f0fe42317ccbb8ff
tree6a76eae9367301093ced0de897c6f8228e7333b5
parent8f544702000ae2f0ddc62415494043c8639b53df
drm/amdkfd: fix runlist length calculation

The MAP_QUEUES packet length for Carrizo is different than for Kaveri.
Therefore, we now need to calculate the runlist length with regard to the
underlying H/W.

Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c