]> 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)
commit31f9d441d0d6aa54408e1f2af038a1c3ca466816
tree6a76eae9367301093ced0de897c6f8228e7333b5
parent4e8289079423e6ac2b60505c5825cfc1e7d971ba
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