linux-uconsole/drivers/gpu/drm/amd
Felix Kuehling e3290a5e24 drm/amdgpu: Fix oops when pp_funcs->switch_power_profile is unset
commit 919a52fc4c upstream.

On Vega20 and other pre-production GPUs, powerplay is not enabled yet.
Check for NULL pointers before calling pp_funcs function pointers.

Also affects Kaveri.

CC: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-01 09:37:28 +01:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Fix oops when pp_funcs->switch_power_profile is unset 2018-12-01 09:37:28 +01:00
amdkfd drm/amdkfd: Fix incorrect use of process->mm 2018-10-04 11:37:25 -04:00
display drm/amd/amdgpu/dm: Fix dm_dp_create_fake_mst_encoder() 2018-11-27 16:13:05 +01:00
include drm/amdkfd: Change the control stack MTYPE from UC to NC on GFX9 2018-09-20 10:25:17 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD 2018-11-21 09:19:25 +01:00