diff options
| author | Horace Chen <[email protected]> | 2022-07-21 03:57:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-09-01 19:11:00 +0000 |
| commit | 119dc6c50eb9974e9dc0e6a17d8207592309c940 (patch) | |
| tree | 20bc258f21394953298dc1446be618117a672cbb /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu: add CHIP_IP_DISCOVERY support for virtualization (diff) | |
| download | kernel-119dc6c50eb9974e9dc0e6a17d8207592309c940.tar.gz kernel-119dc6c50eb9974e9dc0e6a17d8207592309c940.zip | |
drm/amdgpu: add sriov nbio callback structure
[Why]
under SR-IOV, the nbio doorbell range will be defined by PF. So VF
nbio doorbell range registers will be blocked. It will cause violation
if VF access those registers directly.
[How]
create an nbio_v4_3_sriov_funcs for sriov nbio_v4_3 initialization to
skip the setting for the doorbell range registers.
Acked-by: Christian König <[email protected]>
Signed-off-by: Horace Chen <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
