aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorRex Zhu <[email protected]>2015-12-29 13:56:03 +0800
committerAlex Deucher <[email protected]>2016-02-10 16:21:12 -0500
commitfa9e699105ba4c29e34954fab693b1fc19d70084 (patch)
tree46383ee0d7692f314978b453dca43966c3d2a038 /tools/perf/scripts/python/sctop.py
parent0f18563aaa22f7dd1712c20973482225aa13942a (diff)
drm/amd/powerplay: add powerplay valid check to avoid null point.
In case CONFIG_DRM_AMD_POWERPLAY is defined and amdgpu.powerplay=0. some functions in powrplay can also be called by DAL. and the input parameter is *adev. if just check point not NULL was not enough and will lead to NULL point error. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions