diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-02-16 15:47:08 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-03-06 11:42:28 +0100 |
commit | 2107777c0249e95f9493f3341dcb4fd89b965385 (patch) | |
tree | 2f80180456f434177895061fac2bfc36d5ddfa6d /drivers/gpu/drm/drm_atomic.c | |
parent | 51ffa12d90baebc56eef6781233873f7ad558d54 (diff) |
drm/atomic: Add macros to access existing old/new state, v2.
After atomic commit, these macros should be used in place of
get_existing_state. Also after commit get_xx_state should no longer
be used because it may not have the required locks.
The calls to drm_atomic_get_existing_$obj_state should no longer be
used, and converted over to these new calls.
Changes since v1:
- Expand commit message.
- Deprecate get_existing_*_state functions in the documentation.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1487256430-7625-4-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/drm_atomic.c')
0 files changed, 0 insertions, 0 deletions