]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Get atomicOps info from Host for sriov setup
authorshaoyunl <shaoyun.liu@amd.com>
Thu, 9 Sep 2021 02:12:55 +0000 (22:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Sep 2021 19:57:11 +0000 (15:57 -0400)
commit42858a243850eb786c40219bc7acac6ea70e401d
tree2c23b8c8a1b658ed6b38b15e8cd10d7bb1180431
parent5ee45085cfaa51f5b42a7d833db2f43048bbfcac
drm/amdgpu:  Get atomicOps info from Host for sriov setup

The AtomicOp Requester Enable bit is reserved in VFs and the PF value applies to all
associated VFs. so guest driver can not directly enable the atomicOps for VF, it
depends on PF to enable it. In current design, amdgpu driver  will get the enabled
atomicOps bits through private pf2vf data

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h