Atomic Properties (v2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | drm: add atomic_set_property wrappersdrivers/ drivers/ include/ +1 more | +108 | 0 replies | |
| 2/11 | drm: add atomic_get_propertydrivers/ include/ include/ | +115 | 0 replies | |
| 3/11 | drm: tweak getconnector lockingdrivers/ | +2 | 0 replies | |
| 4/11 | drm: refactor getproperties/getconnectordrivers/ | +42 | 0 replies | |
| 5/11 | drm: add atomic propertiesDocumentation/ drivers/ drivers/ +7 more | +113 | 0 replies | |
| 6/11 | drm/atomic: atomic_check functionsdrivers/ drivers/ | +137 | 0 replies | |
| 7/11 | drm: small property creation cleanupdrivers/ | +17 | 0 replies | |
| 8/11 | drm/atomic: atomic plane propertiesDocumentation/ drivers/ drivers/ +1 more | +230 | 0 replies | |
| 9/11 | drm/atomic: atomic connector propertiesDocumentation/ drivers/ drivers/ | +25 | 0 replies | |
| 10/11 | drm/msm: atomic property supportdrivers/ drivers/ drivers/ +4 more | +8 | 0 replies | |
| 11/11 | drm: Atomic modeset ioctldrivers/ drivers/ drivers/ +3 more | +366 | 1 reply |
Reviews trailers per patch
All 11 patches have a Reviewed-by or Acked-by.
| Patch | Sean Paul | Daniel Vetter | Rob Clark |
|---|---|---|---|
| 1/11 | R-b | R-b | |
| 2/11 | R-b | R-b | |
| 3/11 | R-b | R-b | |
| 4/11 | R-b | R-b | |
| 5/11 | R-b | R-b | |
| 6/11 | R-b | R-b | |
| 7/11 | R-b | R-b | |
| 8/11 | R-b | R-b | |
| 9/11 | R-b | R-b | |
| 10/11 | R-b | R-b | |
| 11/11 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/11] Atomic Properties (v2)
Welcome to v2 of the atomic-properties series. This is the part where we start exposing atomic to userspace. This patchset applies on top of the topic/atomic-core branch. A few patches from v1 of the patchset have already been picked up on topic/atomic-core (and are not re-sent).
The first step here is to, for drivers supporting atomic, expose all the core plane/CRTC/connector state as properties. Once this is in place, all that remains is the atomic ioctl to allow userspace to atomically set a bunch of properties on a bunch of objects (last patch).
All of the core properties have their set/get/check's handled by the drm_atomic core, so drivers needn't be bothered about that.
NOTE: that there is one notable omission here. The 'MODE' property on the CRTC. Without this, you can do atomic pageflip but not yet atomic modeset. I am debating between three paths for handling MODE:
1) Add back blob property support to atomic ioctl
2) Add ioctls to create/destroy blob properties, and then simply pass blob property id to atomic ioctl.
3) Stick our head in the sands and expose mode as a bunch of descrete properties.
Of these, at the moment I prefer #2, since it is more consistent with how userspace currently reads blob properties, and it avoids making the atomic ioctl function even more gnarly.
The whole patchset can also be found at:
http://cgit.freedesktop.org/~robclark/linux/log/?h=atomic-properties
git://people.freedesktop.org/~robclark/linux atomic-properties
Compared to v1 of this patchset:
1) few bits of comments/re-arranging
2) drop modeconfig->funcs vfunc for set_property, instead use a driver feature flag so core can figure out whether to take atomic property or legacy property path
3) add DRM_CLIENT_CAP_ATOMIC to hide atomic properties from legacy userspace
4) add drm.atomic moduleparam to (for now) hide the atomic ioctl while it is still experimental.
5) misc bits of refactoring, and addressing other review comments.
Rob Clark (11):
drm: add atomic_set_property wrappers
drm: add atomic_get_property
drm: tweak getconnector locking
drm: refactor getproperties/getconnector
drm: add atomic properties
drm/atomic: atomic_check functions
drm: small property creation cleanup
drm/atomic: atomic plane properties
drm/atomic: atomic connector properties
drm/msm: atomic property support
drm: Atomic modeset ioctl
Documentation/DocBook/drm.tmpl | 91 ++- drivers/gpu/drm/drm_atomic.c | 757 ++++++++++++++++++++- drivers/gpu/drm/drm_atomic_helper.c | 16 +- drivers/gpu/drm/drm_crtc.c | 274 +++++--- drivers/gpu/drm/drm_drv.c | 4 + drivers/gpu/drm/drm_ioctl.c | 11 + drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 1 + drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 1 + drivers/gpu/drm/msm/mdp/mdp4/mdp4_lvds_connector.c | 1 + drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c | 1 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 1 + drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 2 + drivers/gpu/drm/msm/msm_drv.c | 1 + include/drm/drmP.h | 4 + include/drm/drm_atomic.h | 21 + include/drm/drm_crtc.h | 43 +- include/uapi/drm/drm.h | 8 + include/uapi/drm/drm_mode.h | 30 + 18 files changed, 1148 insertions(+), 119 deletions(-)
Signature · 6 lines
2.1.0 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel