]> asedeno.scripts.mit.edu Git - linux.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)
commit2f2eab3acc3c8b37d1cdbf00a441373a973690a9
treef2c8b48665c3d1c0ea158f3d4c24f2d2f68072c3
parent0ad8c5e296fc9ee04e9e918e05f05936ac275623
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