aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-09-11 16:03:16 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-02-22 12:17:58 +0100
commita0ea4ffff2662c10ca69d5e246adf5543fd945b9 (patch)
tree7540f9d167c79ef14ac61f461c13698e2b828237 /tools/perf/scripts/python/powerpc-hcalls.py
parentf6019702d9646da03c11bb5c9bd89e23ccc4e14d (diff)
drm/imx: only send commit done event when all state has been applied
Currently there is a small race window where we could manage to arm the vblank event from atomic flush, but programming the hardware was too close to the frame end, so the hardware will only apply the current state on the next vblank. In this case we will send out the commit done event too early causing userspace to reuse framebuffes that are still in use. Instead of using the event arming mechnism, just remember the pending event and send it from the vblank IRQ handler, once we are sure that all state has been applied successfully. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> [p.zabel@pengutronix.de: inverted logic: done -> pending, added back spinlock in atomic_flush, commit message typo fix] Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions