Commits
![Rex Zhu](https://secure.gravatar.com/avatar/29007fc4e0169465a423baa3d21636b1.jpg?s=96&d=mm)
Rex Zhu committed a969e163a4a
drm/amd/powerplay: add powerplay valid check to avoid null point. (v2) 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. V2: AGD: rebase on upstream 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>