diff options
| author | Felix Kuehling <Felix.Kuehling@amd.com> | 2018-07-20 18:37:25 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2018-11-20 00:05:52 +0300 |
| commit | 919a52fc4ca137c871f295224507fa3401e08472 (patch) | |
| tree | 86a0c3b82a8cced4c9d4d26d9411496cfcd242de /tools/perf/scripts/python/sched-migration.py | |
| parent | 07e3a1cfb0568b6d8d7862077029af96af6690ea (diff) | |
| download | linux-919a52fc4ca137c871f295224507fa3401e08472.tar.xz | |
drm/amdgpu: Fix oops when pp_funcs->switch_power_profile is unset
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
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
