]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/amd/amdgpu: Allow calling si_dpm_fini at any point
authorTom St Denis <tom.stdenis@amd.com>
Tue, 6 Sep 2016 13:42:55 +0000 (09:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Sep 2016 22:12:20 +0000 (18:12 -0400)
commit9623e4bfaa5e78727cae5c19b9ee5f94cf6bb24a
tree2b6936d6c89fa0c65b56c1602e2b6db1881d680b
parentcb5df31b2d218a0a01952f9551f114b1bc32064c
drm/amd/amdgpu: Allow calling si_dpm_fini at any point

Allow calling fini even if ps array is not allocated.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/si_dpm.c