linux/drivers/gpu/drm/amd/powerplay
Rex Zhu fa9e699105 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 <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-10 16:21:12 -05:00
..
eventmgr drm/amd/powerplay: enable power down asic task. (v2) 2016-01-08 15:39:27 -05:00
hwmgr drm/amd/powerplay: Enable low mem pstate when cancel_high 2016-02-10 16:19:29 -05:00
inc drm/amd/powerplay: Make declarations of functions exposed to DAL type-safe. 2016-02-10 16:13:59 -05:00
smumgr drm/amd/powerplay: Update SMU firmware loading for Stoney 2016-01-27 11:40:38 -05:00
Kconfig
Makefile drm/amd/powerplay: add Tonga dpm support (v3) 2015-12-21 16:42:15 -05:00
amd_powerplay.c drm/amd/powerplay: add powerplay valid check to avoid null point. 2016-02-10 16:21:12 -05:00