Re: [PATCH 1/2] drm/atomic: Add helpers for state-subclassing drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux