drm/amdkfd: Fix scratch memory with HWS enabled
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 23 Mar 2018 19:30:33 +0000 (15:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:19 +0000 (07:52 +0200)
commitbbeb1a42dc584137041841652b98ac0f4e7b7200
treeafc90baab7adabd2359be29c4f8465d6ed4c3b7a
parent629b3a66d5ca6b191807bf6cb59aef8452e101e7
drm/amdkfd: Fix scratch memory with HWS enabled

[ Upstream commit c70a36268799cf2f902b5a31e452571fcb96bfe9 ]

Program sh_hidden_private_base_vmid correctly in the map-process
PM4 packet.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c