]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6759a23b0052853d1cabf77c9ac4d2b58ab8b7aa
tree1ce872f4a287f8bb9cc50f5dc430a51b89c61921
parent6e8d6be773c96c3786f31b45b9525e3d893ac8de
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