drm/amd/amdgpu: Not request init data for MS_HYPERV with vega10
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 8 Apr 2022 14:53:14 +0000 (10:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Apr 2022 13:14:22 +0000 (09:14 -0400)
commiteb85fc238970afe4a309bb307bdeecc2938ba7b2
treecc285d4faf3403fdebc750b18ec4ebd479809a8a
parent3925f9b4fed1b51bfe17770a63609a7a0f6e4808
drm/amd/amdgpu: Not request init data for MS_HYPERV with vega10

MS_HYPERV with vega10 doesn't have the interface to process
request init data msg.

Check hypervisor type to not send the request for MS_HYPERV.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Alice Wong <shiwei.wong@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c