drm/amd/powerplay: add pptable point check before use it
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 25 Aug 2016 12:00:28 +0000 (20:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Sep 2016 19:52:50 +0000 (15:52 -0400)
commitaa0ef3ccd6410c14d3de586bd83ce532cad2e67e
treeef9fbead900b30414c464670d5993818e111cbaa
parentb1c8e1e21f421653971c18fdafa22f2553899ca9
drm/amd/powerplay: add pptable point check before use it

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c