mirror of https://gitee.com/openkylin/linux.git
fa9e699105
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> |
||
---|---|---|
.. | ||
eventmgr | ||
hwmgr | ||
inc | ||
smumgr | ||
Kconfig | ||
Makefile | ||
amd_powerplay.c |