Re: [PATCH 1/2] drm/atomic: fix self-refresh helpers crtc state dereference

2019-11-04 Thread Maarten Lankhorst
Op 01-11-2019 om 21:06 schreef Sean Paul: > On Fri, Nov 1, 2019 at 2:09 PM Rob Clark wrote: >> From: Rob Clark >> >> drm_self_refresh_helper_update_avg_times() was incorrectly accessing the >> new incoming state after drm_atomic_helper_commit_hw_done(). But this >> state might have already been

Re: [PATCH 1/2] drm/atomic: fix self-refresh helpers crtc state dereference

2019-11-01 Thread Sean Paul
On Fri, Nov 1, 2019 at 2:09 PM Rob Clark wrote: > > From: Rob Clark > > drm_self_refresh_helper_update_avg_times() was incorrectly accessing the > new incoming state after drm_atomic_helper_commit_hw_done(). But this > state might have already been superceeded by an !nonblock atomic update >

[PATCH 1/2] drm/atomic: fix self-refresh helpers crtc state dereference

2019-11-01 Thread Rob Clark
From: Rob Clark drm_self_refresh_helper_update_avg_times() was incorrectly accessing the new incoming state after drm_atomic_helper_commit_hw_done(). But this state might have already been superceeded by an !nonblock atomic update resulting in dereferencing an already free'd crtc_state. Fixes: