commit | df5e984c8bd414561c320d6cbbb66d53abf4c7e2 | [log] [tgz] |
---|---|---|
author | Tiecheng Zhou <Tiecheng.Zhou@amd.com> | Wed Jan 08 13:44:29 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Jan 14 10:18:09 2020 -0500 |
tree | 4f6ca4cd4e85cef15cc87ee57a987b4ab7fae194 | |
parent | 2d5ef0b42c0bca33aaaff2f1b98855e4e3225a0f [diff] |
drm/amdgpu/sriov: workaround on rev_id for Navi12 under sriov 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>