diff options
author | Daniel Vetter <[email protected]> | 2016-01-25 22:16:48 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-02-08 09:55:49 +0100 |
commit | 4eced321bf3d2f45b9dd221ba806a9b3c7d3a67a (patch) | |
tree | 22e590c6280b042e865033cbf386fdabb0efb7f8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 84b29a553e90d7933d9ada64302ae30d4a9084fd (diff) |
drm/imx: Unconfuse preclose logic
So this one is special, since it tries to prevent races when userspace
crashes simply by disabling the vblank machinery. Well except that imx
always has vblanks enabled, and the disable_vblank hook actually just
tries to cancel a pending pageflip. Without any locking whatsoever. Of
course this is wrong, since it'll result in the hw not actually
displaying what drm thinks is the current frontbuffer.
Well since the core takes care of the disappearing DRM fd now. So we
can nuke all this confused code without ill side-effects.
Someone else needs to audit the locking for ->newfb and
->page_flip_event and fix it up. Common approach is to reuse
dev->event_lock for this.
Cc: Sascha Hauer <[email protected]>
Cc: Philipp Zabel <[email protected]>
Acked-by: Daniel Stone <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Acked-by: Philipp Zabel <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions