]> 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)
commitc755e8e25eb48a3bfcb837ea5e7987e624515a0e
tree92b6cd75a4873b49f6dd8c11aca3d47f171fca1a
parentd54a22a434bc012eb4b4ddf58c5f2272dfce9195
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