meson-display: fix set displaymode sequence issue for on weston. [1/2]
PD#SH-4403
Problem:
weston will stop repaint, after set displaymode with
meson-display-helper same times, It happend when setmode between
drm_output_repaint && drm_pending_state_test. it cause
atomic_commit_test fail, and next atomic-commit fail, then weston
stop repaint.
Solution:
Post the swith_mode task at repaint cycle end, and effect at next
repaint.
Verify:
local w400. with test script:
https://jira.amlogic.com/secure/attachment/181744/test_meson_display.sh
Change-Id: I06ea353ce22027a872d1b95bb33761801dac0deb
Signed-off-by: lingjie li <lingjie.li@amlogic.com>
3 files changed