drm/amdgpu: equip new req_init_data handshake
authorMonk Liu <Monk.Liu@amd.com>
Wed, 4 Mar 2020 15:51:51 +0000 (23:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:43 +0000 (14:44 -0400)
commit122078de168b8380e9dde15a5c04a5412e710cb6
treebaac20fa2cf9533edde1e21d870b4f5e2467e43d
parentff1f03a7b8c4787faefdb44b189e39cbf4f7611c
drm/amdgpu: equip new req_init_data handshake

by this new handshake host side can prepare vbios/ip-discovery
and pf&vf exchange data upon recieving this request without
stopping world switch.

this way the world switch is less impacted by VF's exclusive mode
request

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/nv.c