OpenCloudOS-Kernel/drivers/gpu/drm/amd/powerplay
Xiangliang Yu e9efaaa047 drm/amd/powerplay: Fix potential NULL pointer issue
If doesn't enable dpm, the powerplay will not allocate memory for
hw management. So, hw_init_power_state_table function will reference
NULL pointer when resetting.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2016-12-06 18:08:38 -05:00
..
eventmgr drm/amd/powerplay: disable cg pg task when pp uninitialize. 2016-12-06 18:08:32 -05:00
hwmgr drm/amd/powerplay: disable cg pg task when pp uninitialize. 2016-12-06 18:08:32 -05:00
inc drm/amd/powerplay: disable cg pg task when pp uninitialize. 2016-12-06 18:08:32 -05:00
smumgr drm/amd/powerplay: Adjust the position of data size initial 2016-12-06 18:08:36 -05:00
Makefile drm/amdgpu: clean up path handling for powerplay 2016-03-21 11:52:13 -04:00
amd_powerplay.c drm/amd/powerplay: Fix potential NULL pointer issue 2016-12-06 18:08:38 -05:00