]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Add rev_id workaround logic for SRIOV setup
authorBokun Zhang <Bokun.Zhang@amd.com>
Mon, 9 Nov 2020 19:09:03 +0000 (14:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Nov 2020 19:26:31 +0000 (14:26 -0500)
commit754144036be753a0985e0190793c5b1fffdeaf95
treed9ff99b130ad9ee1e1cf494faeaf07b1ea65a58f
parent2d251f17a85e259a430a9c0ddef0734e55109f76
drm/amd/amdgpu: Add rev_id workaround logic for SRIOV setup

- When we are under SRIOV setup, the rev_id cannot be read
  properly. Therefore, we will return default value for it

Signed-off-by: Bokun Zhang <Bokun.Zhang@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c