OSDN Git Service

drm amdgpu: Skip tmr load for SRIOV
authorLiu ChengZhe <ChengZhe.Liu@amd.com>
Fri, 24 Jul 2020 07:55:33 +0000 (15:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:44:59 +0000 (16:44 -0400)
commitd392aa02db1b3ecbec49bc8bd28a132298174539
tree115247b43ee036f075dedbd6f38670c1399a4241
parent6b6124bb4a0b05fa9ac052e14dd7c37c42ab9297
drm amdgpu: Skip tmr load for SRIOV

1. For Navi12, CHIP_SIENNA_CICHLID, skip tmr load operation;
2. Check pointer before release firmware.

v2: use CHIP_SIENNA_CICHLID instead
v3: remove local "bool ret"; fix grammer issue
v4: use my name instead of "root"
v5: fix grammer issue and indent issue

Signed-off-by: Liu ChengZhe <ChengZhe.Liu@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c