Files
linux/drivers/gpu/drm/amd/amdgpu/nv.c
Tiecheng Zhou 6fe61eeb6a drm/amdgpu/sriov: workaround on rev_id for Navi12 under sriov
[ Upstream commit df5e984c8b ]

guest vm gets 0xffffffff when reading RCC_DEV0_EPF0_STRAP0,
as a consequence, the rev_id and external_rev_id are wrong.

workaround it by hardcoding the rev_id to 0, which is the default value.

v2. add comment in the code

Signed-off-by: Tiecheng Zhou <Tiecheng.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:38:05 +01:00

28 KiB