diff options
| author | Xiangliang Yu <[email protected]> | 2016-11-30 14:07:16 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-12-06 18:08:38 -0500 |
| commit | e9efaaa047b1aebda27b5b65f17c752eb079e51b (patch) | |
| tree | 764bfdd14e3eb5c12d63edda3e4688a218f77868 /drivers/gpu/drm/drm_framebuffer.c | |
| parent | 84f3f05b44327b7517086ae048f4131ec175e7b5 (diff) | |
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 <[email protected]>
Reviewed-by: Rex Zhu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
0 files changed, 0 insertions, 0 deletions