summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-01-28 14:54:32 +0100
committerThierry Reding <treding@nvidia.com>2015-04-02 18:48:32 +0200
commitf5e7840b0c4368f8cdbb055188c2a0eef50c3052 (patch)
tree820a100556fa6062025f6cf3b4f64d735ce9892d /drivers/gpu/drm/tegra
parent42e9ce0523699b3f3383b7c5c0bcc2657a77d0ca (diff)
downloadtalos-obmc-linux-f5e7840b0c4368f8cdbb055188c2a0eef50c3052.tar.gz
talos-obmc-linux-f5e7840b0c4368f8cdbb055188c2a0eef50c3052.zip
drm/atomic: Add helpers for state-subclassing drivers
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. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud