diff options
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2015-01-23 08:27:59 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-01-27 10:02:52 +0100 |
commit | 9469244d869623e8b54d9f3d4d00737e377af273 (patch) | |
tree | 167b650623d866dee15689d8bee6a4e821af31d0 /include/drm | |
parent | drm/atomic-helper: debug output for modesets (diff) | |
download | linux-9469244d869623e8b54d9f3d4d00737e377af273.tar.xz linux-9469244d869623e8b54d9f3d4d00737e377af273.zip |
drm/atomic: Fix potential use of state after free
The atomic helpers rely on drm_atomic_state_clear() to reset an atomic
state if a retry is needed due to the w/w mutexes. The subsequent calls
to drm_atomic_get_{crtc,plane,...}_state() would then return the stale
pointers in state->{crtc,plane,...}_states.
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions