OSDN Git Service

drm/amdgpu: add vega20 sriov capability detection
authorFrank Min <Frank.Min@amd.com>
Thu, 26 Apr 2018 19:44:11 +0000 (03:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Sep 2018 03:32:21 +0000 (22:32 -0500)
commita2045ee6692be2c50502d966089e5df4d799d236
treef9b9a65f2595312cdc401bddf4a7b2a48d0e9148
parentfd395547924dad66dbe21c01e1a646f3215742ef
drm/amdgpu: add vega20 sriov capability detection

Add sriov capability detection for vega20, then can check if device is
virtual device.

Signed-off-by: Frank Min <Frank.Min@amd.com>
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c