Rob Clark 88a48e297b drm: add atomic properties
Once a driver is using atomic helpers for modeset, the next step is to
switch over to atomic properties.  To do this, make sure that any
modeset objects have their ->atomic_{get,set}_property() vfuncs suitably
populated if they have custom properties (you did already remember to
plug in atomic-helper func for the legacy ->set_property() vfuncs,
right?), and then set DRIVER_ATOMIC bit in driver_features flag.

A new cap is introduced, DRM_CLIENT_CAP_ATOMIC, for the purposes of
shielding legacy userspace from atomic properties.  Mostly for the
benefit of legacy DDX drivers that do silly things like getting/setting
each property at startup (since some of the new atomic properties will
be able to trigger modeset).

Signed-off-by: Rob Clark <robdclark@gmail.com>
[danvet: Squash in fixup patch to check for DRM_MODE_PROP_ATOMIC
instaed of the CAP define when filtering properties. Reported by
Tvrtko Uruslin, acked by Rob.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-01-05 13:54:38 +01:00
..
2014-11-23 14:29:44 -05:00
2014-10-08 17:37:16 -04:00
2014-12-02 10:58:33 +10:00
2014-11-17 11:25:29 -08:00
2014-09-22 16:48:47 +09:00
2015-01-05 13:54:38 +01:00
2014-11-16 15:34:31 -08:00
2014-10-07 21:29:18 -04:00
2014-11-02 14:45:52 -08:00
2014-12-03 14:24:10 -08:00
2014-10-21 08:17:43 -07:00
2014-11-29 10:15:31 -08:00
2014-12-02 10:58:33 +10:00
2014-10-15 07:23:49 +02:00