]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Skip smu_post_init in SRIOV
authorJingwen Chen <Jingwen.Chen2@amd.com>
Thu, 17 Sep 2020 07:58:40 +0000 (15:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Sep 2020 20:14:56 +0000 (16:14 -0400)
commit62e0d955f53de846f97f45e1c305a4131342ab8a
tree0393ca28c485cda895c215b159f380aabcb6ba2b
parent2ddb90f0e75cc868af8f2c2cb9c3c2aa0eb34c2c
drm/amd/pm: Skip smu_post_init in SRIOV

smu_post_init needs to enable SMU feature, while this require
virtualization off. Skip it since this feature is not used in SRIOV.

v2: move the check to the early stage of smu_post_init.

v3: fix typo

Signed-off-by: Jingwen Chen <Jingwen.Chen2@amd.com>
Reviewed-by: Emily.Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c