]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add new PF2VF flags for VF register access method
authorRohit Khaire <rohit.khaire@amd.com>
Mon, 29 Mar 2021 19:40:13 +0000 (15:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:49:22 +0000 (16:49 -0400)
commit6ad3b1cbb795840a3dedbe2111b10e8bc5468be1
tree92b6cd75a4873b49f6dd8c11aca3d47f171fca1a
parent89adf6182e4432daa681b93f58d2cdc8f5b1ff17
drm/amdgpu: Add new PF2VF flags for VF register access method

Add 3 sub flags to notify guest for indirect reg access of
gc, mmhub and ih

The host sets these flags depending on L1 RAP version,
asic and other scenarios. These flags ensure that
there is compatibility between different guest/host/vbios versions.

Signed-off-by: Rohit Khaire <rohit.khaire@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h