Thierry Reding <thierry.reding@xxxxxxxxx> writes: > From: Thierry Reding <treding@xxxxxxxxxx> > > 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@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel