[PATCH] modesetting: flush glamor before flushinh dirty rects to kernel

Keith Packard keithp at keithp.com
Thu Jan 22 22:14:08 PST 2015


Dave Airlie <airlied at gmail.com> writes:

> From: Dave Airlie <airlied at redhat.com>
>
> Some kernel drivers require notification that the frontbuffer
> has changed, so we add a damage collector and send the dirty
> rects in the block handler. It appears the glamor block
> handler was getting called after this one, leading to things
> getting out of sync.

This isn't correct; you actually want to change glamor to wrap the
screen block handler instead of using RegisterBlockAndWakeupHandlers so
that modesetting will end up wrapping that, at which point things will
'just work' as modesetting will wrap on top of glamor.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150122/2b953b16/attachment.sig>


More information about the xorg-devel mailing list