]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Hack xgmi topology info when there is no psp fw
authorOak Zeng <Oak.Zeng@amd.com>
Thu, 14 Mar 2019 16:44:24 +0000 (11:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:04 +0000 (14:18 -0500)
commitc428a6be8b824831e0927634a66f8981bef79462
treef2c8b48665c3d1c0ea158f3d4c24f2d2f68072c3
parent40f2e9375bfae7fde08a5fc0ab923f3811784ead
drm/amdgpu: Hack xgmi topology info when there is no psp fw

This is only needed on emulation platform where psp fw might
not be available, to hack xgmi topology info such as hive id and
node id.

v2: Add offset to hacked hive/node id
v3: Don't use introduce new module parameter.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c