drm/amd/pp: Fix NULL point check error in smu_set_watermarks_for_clocks_ranges
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 19 Apr 2018 04:40:15 +0000 (12:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:33 +0000 (13:43 -0500)
commit6197ae28911841369ff61ebbdf9d732ff6069138
treefec6dde8806dc1ce6c6596690779917257dc8147
parent7fd645f258711a4ea4d777188949494f9e68b787
drm/amd/pp: Fix NULL point check error in smu_set_watermarks_for_clocks_ranges

It is caused by
'commit d6c9a7dc86cd ("drm/amd/pp: Move common code to smu_helper.c")'

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c