]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/pm: add asic smu support check
authorStanley.Yang <Stanley.Yang@amd.com>
Mon, 21 Mar 2022 04:50:36 +0000 (12:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2022 16:40:24 +0000 (12:40 -0400)
commita167d5018cb62c49864e8f01c3ab5417081e2d38
treed12063548bea0c8f2325394104579f8ea8a52efc
parentd4ca3d0785dcb7135419d79eef72744c0372d75f
drm/amdgpu/pm: add asic smu support check

It must check asic whether support smu
before call smu powerplay function, otherwise
it may cause null point on no support smu asic.

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_dpm.c