RE: [PATCH v3] drm/amdgpu: load sdma ucode in the guest machine

2023-07-20 Thread Chen, Horace
[AMD Official Use Only - General] Reviewed-By: Horace Chen -Original Message- From: YuanShang Mao (River) Sent: Tuesday, July 18, 2023 4:31 PM To: amd-gfx@lists.freedesktop.org Cc: YuanShang Mao (River) ; Chen, Horace ; YuanShang Mao (River) Subject: [PATCH v3] drm/amdgpu: load sdma

[PATCH v3] drm/amdgpu: load sdma ucode in the guest machine

2023-07-18 Thread YuanShang
[why] User mode driver need to check the sdma ucode version to see whether the sdma engine supports a new type of PM4 packet. In SRIOV, sdma is loaded by the host. And, there is no way to check the sdma ucode version of CHIP_NAVI12 and CHIP_SIENNA_CICHLID of the host in the guest machine. [how] Lo