]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/display: check if ppfuncs exists before using it
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 30 May 2018 14:34:23 +0000 (09:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 May 2018 17:38:05 +0000 (12:38 -0500)
commit9dac0c3fb41056ae48b93e679c2a796c4dcfa8ed
tree321253fa025c709fe20e6c808eb77482924e5b1d
parent762f52e9e4d237d8d378b5bb495f64073a9ba481
drm/amdgpu/display: check if ppfuncs exists before using it

Fixes a crash on asics without powerplay yet (e.g., vega20).

Reviewed-by: Rex Zhu<rezhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c