drm/amdgpu/psp: Fix to get wrong xgmi session id
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Thu, 13 Dec 2018 07:21:49 +0000 (15:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:29 +0000 (15:04 -0500)
commita363553cf0339d26f049d870915177706021132f
tree1ce872f4a287f8bb9cc50f5dc430a51b89c61921
parent308176d6f625bc782a34ec316beaefcfa7ad75f3
drm/amdgpu/psp: Fix to get wrong xgmi session id

Driver get session id after loading TA FW and the session id is used
by driver instances to communicate with TA. PF and VF have different
session id.

xGMI session id should get from response buffer, correct it.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c