drm/amdgpu: introduce new request and its function
authorMonk Liu <Monk.Liu@amd.com>
Wed, 4 Mar 2020 03:38:36 +0000 (11:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:43 +0000 (14:44 -0400)
commitaa53bc2edb66624ac05902910c41d8b4f685b8bc
tree12a5e533c64051010d2dacc0b91a3126850ff3c6
parentc27cbdd2d073baf77deaf3e73dace7945a72dde7
drm/amdgpu: introduce new request and its function

1) modify xgpu_nv_send_access_requests to support
new idh request

2) introduce new function: req_gpu_init_data() which
is used to notify host to prepare vbios/ip-discovery/pfvf exchange

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_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h