diff options
| author | Bradley Pankow <[email protected]> | 2016-02-23 01:11:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-02-24 17:46:05 +0000 |
| commit | 827108d08070c7515c14eb47e5fa03f59cfe38cf (patch) | |
| tree | 5d4cc614c8cca674f067946d07898fae3f9b8aac /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/radeon/pm: adjust display configuration after powerstate (diff) | |
| download | kernel-827108d08070c7515c14eb47e5fa03f59cfe38cf.tar.gz kernel-827108d08070c7515c14eb47e5fa03f59cfe38cf.zip | |
amdgpu: fix NULL pointer dereference at tonga_check_states_equal
The event_data passed from pem_fini was not cleared upon initialization.
This caused NULL checks to pass and cast_const_phw_tonga_power_state to
attempt to dereference an invalid pointer. Clear the event_data in
pem_init and pem_fini before calling pem_handle_event.
Reviewed-by: Rex Zhu <[email protected]>
Signed-off-by: Bradley Pankow <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
