OSDN Git Service

drm/amdgpu: Add Aldebaran virtualization support
authorZhigang Luo <zhigang.luo@amd.com>
Thu, 29 Apr 2021 19:37:31 +0000 (15:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:43 +0000 (18:06 -0400)
commite7de0d844ea803d752e0b41e6b7dcc35d671c186
treeedd865e4b941901005fd1c8e028f3ead804821c4
parentcecd91b4f791d52f61a4feca5c3359b1d45a938b
drm/amdgpu: Add Aldebaran virtualization support

1. add Aldebaran in virtualization detection list.
2. disable Aldebaran virtual display support as there is no GFX
   engine in Aldebaran.
3. skip TMR loading if Aldebaran is in virtualizatin mode as it
   shares the one host loaded.

Signed-off-by: Zhigang Luo <zhigang.luo@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c