Thierry Reding <thierry.reding at gmail.com> writes: > From: Thierry Reding <treding at nvidia.com> > > Drivers that subclass CRTC, plane or connector state need to carefully > duplicate the code that the atomic helpers have. This is bound to cause > breakage eventually because it requires auditing all drivers and update > them when code is added to the helpers. > > In order to avoid that, implement new helpers that perform the required > steps when copying and destroying state. These new helpers are exported > so that state-subclassing drivers can use them. The default helpers are > implemented using them as well, providing a single location that needs > to be changed when adding to base atomic states.
I was looking for these helpers when writing VC4 KMS. Thanks! Reviewed-by: Eric Anholt <eric at anholt.net> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150327/8e66e3dc/attachment.sig>