diff options
author | Tomasz Figa <[email protected]> | 2018-04-23 12:50:02 +0200 |
---|---|---|
committer | Andrzej Hajda <[email protected]> | 2018-04-24 08:34:53 +0200 |
commit | d2d4f51d5ae4151c08c3d380426625a48e79b5b3 (patch) | |
tree | 604ecbbbd591205841840877d44fa54cdd26b0f2 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 6e6cf3e2f2651c24c121aaba63f591166a9957dc (diff) |
drm/rockchip: Disallow PSR for the whole atomic commit
Currently PSR flush is triggered from CRTC's .atomic_begin() callback,
which is executed after modeset disables and enables and before plane
updates are committed. Since PSR flush and re-enable can be triggered
asynchronously by external sources (input event, delayed work), it can
race with hardware programming done in the aforementioned stages.
This patch blocks the PSR completely before hardware programming part
begins and unblock after it ends. This relies on reference counted PSR
disable introduced with previous patch.
Cc: Kristian H. Kristensen <[email protected]>
Signed-off-by: Tomasz Figa <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Signed-off-by: Thierry Escande <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Signed-off-by: Andrzej Hajda <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions