diff options
| author | Daniel Vetter <[email protected]> | 2016-06-08 14:19:11 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-06-10 17:11:18 +0200 |
| commit | 4f9d39a78e1d3100b990ec30da5a14a059e0a304 (patch) | |
| tree | b4a6b4db5035812f64fe7978879dfe0e9b87ec48 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 05c960e79dbcd751bbcae148a01121dddf997465 (diff) | |
drm/rockchip: Fix crtc_state->event signalling
It's not permissible to look at plane->state from interrupt context,
since doing that would need the irq handler to acquire the
plane->mutex lock.
The other problem is that if we pipeline updates using the new
nonblocking atomic helpers new state gets commit before the irq
handler fires, resulting in a lost event.
Fix both issues by caching the necessary values in vop_win, protected
by dev->event_lock.
Cc: Tomeu Vizoso <[email protected]>
Cc: Mark yao <[email protected]>
Tested-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Tomeu Vizoso <[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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions